<commit_before>version: '3.4'

services:
  web:
    build:
      context: backend
      args:
        PORT: 5000
      target: backend_web
    command: gunicorn wsgi:app -R --error-logfile=- --access-logfile=- --reload --worker-class=gevent --bind=0.0.0.0:5000
    restart: always
    networks:
      - intranet
    links:
      - db:db
    volumes:
      - ./backend:/home/pfamserver/stage
    environment:
      - PROJECT_NAME
    scale: 4<commit_msg>[#36] Setup gunicorn to use specific directory to help flask to bootup properly.<commit_after>version: '3.4'

services:
  web:
    build:
      context: backend
      args:
        PORT: 5000
      target: backend_web
    command: gunicorn wsgi:app -R --error-logfile=- --access-logfile=- --reload --worker-class=gevent --chdir /home/pfamserver/stage --bind=0.0.0.0:5000
    restart: always
    networks:
      - intranet
    links:
      - db:db
    volumes:
      - ./backend:/home/pfamserver/stage
    environment:
      - PROJECT_NAME
    scale: 4
{'fraction_non_alphanumeric': 0.12250996015936255, 'fraction_numerical': 0.03187250996015936, 'mean_word_length': 2.130841121495327, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1023893', 'n_tokens_mistral': 356, 'n_tokens_neox': 335, 'n_words': 79}