<commit_before>version: "3.0"
services:
  web:
    image: upriseapp_web:latest
    env_file: ./app/prod.env
    command: npm run prod
    restart: on-failure

  nginx:
    env_file: ./nginx/prod.env
    ports:
      - 80:80
      - 443:443
    volumes:
      - ./app/client:/src/app/client
      - letsencrypt-keys-volume:/etc/letsencrypt
    networks:
      letsencrypt-nginx:
        aliases:
          - nginx
      nginx-web:
        aliases:
          - nginx
    restart: on-failure
    healthcheck:
      test: ["CMD", "curl", "-f", "https://$$NGINX_HOST"]
      interval: 1m30s
      timeout: 10s
      retries: 3

  db:
    restart: on-failure

  letsencrypt:<commit_msg>Finally fixing nginx healthcheck script issue.<commit_after>version: "3.0"
services:
  web:
    image: upriseapp_web:latest
    env_file: ./app/prod.env
    command: npm run prod
    restart: on-failure

  nginx:
    env_file: ./nginx/prod.env
    ports:
      - 80:80
      - 443:443
    volumes:
      - ./app/client:/src/app/client
      - letsencrypt-keys-volume:/etc/letsencrypt
    networks:
      letsencrypt-nginx:
        aliases:
          - nginx
      nginx-web:
        aliases:
          - nginx
    restart: on-failure
    healthcheck:
      test: ["CMD", "sh", "-c", "curl -f https://$$NGINX_HOST"]
      interval: 1m30s
      timeout: 10s
      retries: 3

  db:
    restart: on-failure

  letsencrypt:
{'fraction_non_alphanumeric': 0.12151536812008577, 'fraction_numerical': 0.02573266619013581, 'mean_word_length': 1.8925619834710743, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '625445', 'n_tokens_mistral': 537, 'n_tokens_neox': 496, 'n_words': 102}