<commit_before>version: '2'

services:
  web:
    image: nginx
    ports:
      - "8080:80"
    volumes:
      - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
      - ./web:/usr/share/nginx/html:ro
    environment:
      - VIRTUAL_HOST=$DOMAIN
      - LETSENCRYPT_HOST=$DOMAIN
      - LETSENCRYPT_EMAIL=$EMAIL

  admin:
    image: nginx
    volumes:
      - ./admin:/usr/share/nginx/html:ro

  api:
    build: .
    volumes:
      - ./api:/opt/app
    environment:
      - NODE_ENV=production
      - TWILIO_ACCOUNT_SID=$TWILIO_ACCOUNT_SID
      - TWILIO_AUTH_TOKEN=$TWILIO_AUTH_TOKEN
      - TWILIO_NUMBER=$TWILIO_NUMBER
      - MONGODB_URI=$MONGODB_URI
      - LOGGLY_TOKEN=$LOGGLY_TOKEN
      - LOGGLY_DOMAIN=$LOGGLY_DOMAIN

  db:
    image: mongo
    volumes:
      - ./db:/data/db

networks:
  default:
    external:
      name: web<commit_msg>initial bug fixes<commit_after>version: '2'

services:
  web:
    image: nginx
    ports:
      - "8080:80"
    volumes:
      - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
      - ./web:/usr/share/nginx/html:ro
    environment:
      - VIRTUAL_HOST=$DOMAIN
      - LETSENCRYPT_HOST=$DOMAIN
      - LETSENCRYPT_EMAIL=$EMAIL
    restart: always

  admin:
    image: nginx
    volumes:
      - ./admin:/usr/share/nginx/html:ro
    restart: always

  api:
    build: .
    volumes:
      - ./api:/opt/app
    environment:
      - NODE_ENV=production
      - TWILIO_ACCOUNT_SID=$TWILIO_ACCOUNT_SID
      - TWILIO_AUTH_TOKEN=$TWILIO_AUTH_TOKEN
      - TWILIO_NUMBER=$TWILIO_NUMBER
      - MONGODB_URI=$MONGODB_URI
      - LOGGLY_TOKEN=$LOGGLY_TOKEN
      - LOGGLY_DOMAIN=$LOGGLY_DOMAIN
    restart: always

  db:
    image: mongo
    volumes:
      - ./db:/data/db
    restart: always

networks:
  default:
    external:
      name: web
{'fraction_non_alphanumeric': 0.11659192825112108, 'fraction_numerical': 0.007847533632286996, 'mean_word_length': 2.15929203539823, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4508871', 'n_tokens_mistral': 734, 'n_tokens_neox': 694, 'n_words': 93}