<commit_before>db:
  image: postgres

uwsgi:
  restart: always
  image: vanessa/sregistry
  volumes:
    - .:/code
    - ./static:/var/www/static
    - ./images:/var/www/images
    # uncomment for PAM auth
    #- /etc/passwd:/etc/passwd 
    #- /etc/shadow:/etc/shadow
  links:
    - redis
    - db

nginx:
  restart: always
  image: vanessa/sregistry_nginx
  ports:
    - "80:80"
  volumes:
    - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
    - ./uwsgi_params.par:/etc/nginx/uwsgi_params.par:ro
  volumes_from:
    - uwsgi
  links:
    - uwsgi
    - db

redis:
  restart: always
  image: redis:latest
  ports:
    - "6379:6379"


worker:
  image: vanessa/sregistry
  command: celery worker -A shub.celery -Q default -n default@%h -B
  volumes:
    - .:/code
  volumes_from:
    - uwsgi
  links:
    - redis
    - db
<commit_msg>try rabbitmq<commit_after>db:
  image: postgres

uwsgi:
  restart: always
  image: vanessa/sregistry
  volumes:
    - .:/code
    - ./static:/var/www/static
    - ./images:/var/www/images
    # uncomment for PAM auth
    #- /etc/passwd:/etc/passwd 
    #- /etc/shadow:/etc/shadow
  links:
    - rabbit
    - db

nginx:
  restart: always
  image: vanessa/sregistry_nginx
  ports:
    - "80:80"
  volumes:
    - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
    - ./uwsgi_params.par:/etc/nginx/uwsgi_params.par:ro
  volumes_from:
    - uwsgi
  links:
    - uwsgi
    - db

rabbit:
  restart: always
  image: rabbitmq:latest
  ports:
    - "5462:5462"

worker:
  image: vanessa/sregistry
  command: celery worker -A shub.celery -Q default -n default@%h -B
  volumes:
    - .:/code
  volumes_from:
    - uwsgi
  links:
    - rabbit
    - db

{'fraction_non_alphanumeric': 0.13516746411483255, 'fraction_numerical': 0.014354066985645933, 'mean_word_length': 2.1388367729831144, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1023879', 'n_tokens_mistral': 706, 'n_tokens_neox': 683, 'n_words': 127}