<commit_before>version: '2'
services:

    arches:
      container_name: arches
      image: archesproject/arches:latest
      build:
        context: .
        dockerfile: ./Dockerfile
      command: run_arches
      volumes:
        - arches-log:/arches/arches/logs
        - arches-static:/static_root
        - arches-bowercomponents:/web_root/arches/arches/app/media/bower_components
      environment:
        - INSTALL_DEFAULT_GRAPHS=True
        - INSTALL_DEFAULT_CONCEPTS=True
        - PGPASSWORD=<PASSWORD>
        - PGDBNAME=arches
        - PGHOST=db
        - PGPORT=5432
        - ESHOST=elasticsearch
        - ESPORT=9200
        - DJANGO_MODE=PROD
        - DJANGO_DEBUG=False
        - DJANGO_NORELOAD=False
        - DOMAIN_NAMES=localhost
        - TZ=EST
      ports:
        - '8000:8000'
      depends_on:
        - db
        - elasticsearch


    nginx:
      container_name: nginx
      image: cvast/cvast-nginx:1.2.0
      restart: unless-stopped
      ports:
        - '80:80'
        - '443:443'
      volumes:
        - arches-static:/www/static
      environment:
        - NGINX_PROXY_MODE=local
        - NGINX_PROTOCOL=http
        - LOCAL_PROXY_HOST=arches
        - LOCAL_PROXY_PORT=8000
        - DOMAIN_NAMES=localhost
        - PUBLIC_MODE=False
        - TZ=EST
      depends_on:
        - arches


    db:
      container_name: db
      image: mdillon/postgis:9.6
      volumes:
          - postgres-data:/var/lib/postgresql/data
          - postgres-log:/var/log/postgresql
      ports:
        - '5432:5432'
      environment:
        - POSTGRES_PASSWORD=<PASSWORD>
        - TZ=EST


    elasticsearch:
      container_name: elasticsearch
      image: elasticsearch:5.2
      volumes:
        - elasticsearch-data:/usr/share/elasticsearch/data
      ports:
        - "9200:9200"
        - "9300:9300"
      environment:
        - TZ=EST


    letsencrypt:
      container_name: letsencrypt
      image: cvast/cvast-letsencrypt:1.1
      volumes:
        - ./web/wwwroot:/var/www
        - ./letsencrypt:/etc/letsencrypt
        - ./web/logs/letsencrypt:/var/log/letsencrypt
      command: get_certificate
      environment:
        - LETSENCRYPT_EMAIL=<EMAIL>
        - DOMAIN_NAMES=localhost
        - PRODUCTION_MODE=False
        - PERSISTENT_MODE=True
        - TZ=EST
      labels:
        org.label-schema.group: "prod-cvast-arches-monitoring"


volumes:
    arches-log:
    arches-static:
    arches-bowercomponents:
    postgres-data:
    postgres-log:
    elasticsearch-data:
    elasticsearch-config:<commit_msg>Remove irrelevant label for LetsEncrypt service in docker-compose.yml<commit_after>version: '2'
services:

    arches:
      container_name: arches
      image: archesproject/arches:latest
      build:
        context: .
        dockerfile: ./Dockerfile
      command: run_arches
      volumes:
        - arches-log:/arches/arches/logs
        - arches-static:/static_root
        - arches-bowercomponents:/web_root/arches/arches/app/media/bower_components
      environment:
        - INSTALL_DEFAULT_GRAPHS=True
        - INSTALL_DEFAULT_CONCEPTS=True
        - PGPASSWORD=<PASSWORD>
        - PGDBNAME=arches
        - PGHOST=db
        - PGPORT=5432
        - ESHOST=elasticsearch
        - ESPORT=9200
        - DJANGO_MODE=PROD
        - DJANGO_DEBUG=False
        - DJANGO_NORELOAD=False
        - DOMAIN_NAMES=localhost
        - TZ=EST
      ports:
        - '8000:8000'
      depends_on:
        - db
        - elasticsearch


    nginx:
      container_name: nginx
      image: cvast/cvast-nginx:1.2.0
      restart: unless-stopped
      ports:
        - '80:80'
        - '443:443'
      volumes:
        - arches-static:/www/static
      environment:
        - NGINX_PROXY_MODE=local
        - NGINX_PROTOCOL=http
        - LOCAL_PROXY_HOST=arches
        - LOCAL_PROXY_PORT=8000
        - DOMAIN_NAMES=localhost
        - PUBLIC_MODE=False
        - TZ=EST
      depends_on:
        - arches


    db:
      container_name: db
      image: mdillon/postgis:9.6
      volumes:
          - postgres-data:/var/lib/postgresql/data
          - postgres-log:/var/log/postgresql
      ports:
        - '5432:5432'
      environment:
        - POSTGRES_PASSWORD=postgres
        - TZ=EST


    elasticsearch:
      container_name: elasticsearch
      image: elasticsearch:5.2
      volumes:
        - elasticsearch-data:/usr/share/elasticsearch/data
      ports:
        - "9200:9200"
        - "9300:9300"
      environment:
        - TZ=EST


    letsencrypt:
      container_name: letsencrypt
      image: cvast/cvast-letsencrypt:1.1
      volumes:
        - ./web/wwwroot:/var/www
        - ./letsencrypt:/etc/letsencrypt
        - ./web/logs/letsencrypt:/var/log/letsencrypt
      command: get_certificate
      environment:
        - LETSENCRYPT_EMAIL=<EMAIL>
        - DOMAIN_NAMES=localhost
        - PRODUCTION_MODE=False
        - PERSISTENT_MODE=True
        - TZ=EST


volumes:
    arches-log:
    arches-static:
    arches-bowercomponents:
    postgres-data:
    postgres-log:
    elasticsearch-data:
    elasticsearch-config:
{'fraction_non_alphanumeric': 0.09352377225591861, 'fraction_numerical': 0.025044022696145567, 'mean_word_length': 1.7707317073170732, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '7614941', 'n_tokens_mistral': 1814, 'n_tokens_neox': 1711, 'n_words': 227}