<commit_before>version: '3'

services:

  testcafe:
    container_name: bookit_testcafe
    image: testcafe/testcafe
    environment:
      - NODE_PATH=/opt/testcafe/node_modules:/opt
      - BOOKITURI=http://bookit.riglet.io
      - BOOKITUSER
      - BOOKITPASSWD
    volumes:
      - ./src/functional-tests:/tests
      - ./node_modules/testcafe-react-selectors:/opt/testcafe/node_modules/testcafe-react-selectors
    security_opt:
      - seccomp:unconfined
    links:
      - "web:bookit.riglet.io"
    entrypoint: ["/opt/testcafe/docker/testcafe-docker.sh", "chromium", "/tests"]

  web:
    container_name: bookit_web
    image: "builditdigital/bookit-web:${COMMIT_SHA:-latest}"
    ports:
     - "80:80"
    links:
      - "server:bookitapi"
    environment:
      - BOOKIT_API_BASE_URL=/api
    command: /bin/sh -c "envsubst < /opt/app/config.js.template > /opt/app/config.js && nginx -g 'daemon off;'"

  server:
    container_name: bookit_server
    image: builditdigital/bookit-server:latest
    expose:
      - "8888"
    environment:
      - USE_CLOUD=true
      - JWT_TOKEN_SECRET="I need to get a grip on Biggus Dickus"
      - CLOUD_CONFIG
      - BUILDIT_SECRET
<commit_msg>- Change USE_CLOUD to USE_AZURE<commit_after>version: '3'

services:

  testcafe:
    container_name: bookit_testcafe
    image: testcafe/testcafe
    environment:
      - NODE_PATH=/opt/testcafe/node_modules:/opt
      - BOOKITURI=http://bookit.riglet.io
      - BOOKITUSER
      - BOOKITPASSWD
    volumes:
      - ./src/functional-tests:/tests
      - ./node_modules/testcafe-react-selectors:/opt/testcafe/node_modules/testcafe-react-selectors
    security_opt:
      - seccomp:unconfined
    links:
      - "web:bookit.riglet.io"
    entrypoint: ["/opt/testcafe/docker/testcafe-docker.sh", "chromium", "/tests"]

  web:
    container_name: bookit_web
    image: "builditdigital/bookit-web:${COMMIT_SHA:-latest}"
    ports:
     - "80:80"
    links:
      - "server:bookitapi"
    environment:
      - BOOKIT_API_BASE_URL=/api
    command: /bin/sh -c "envsubst < /opt/app/config.js.template > /opt/app/config.js && nginx -g 'daemon off;'"

  server:
    container_name: bookit_server
    image: builditdigital/bookit-server:latest
    expose:
      - "8888"
    environment:
      - USE_AZURE=true
      - JWT_TOKEN_SECRET="I <PASSWORD> a grip on Big<PASSWORD>"
      - CLOUD_CONFIG
      - BUILDIT_SECRET

{'fraction_non_alphanumeric': 0.1236984589754269, 'fraction_numerical': 0.007496876301541024, 'mean_word_length': 2.667175572519084, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5295208', 'n_tokens_mistral': 923, 'n_tokens_neox': 888, 'n_words': 131}