<commit_before>version: '2'
services:
  # proftpd container
  proftpd:
#    build: galaxy-proftpd
    image: quay.io/galaxy/proftpd:compose
    environment:
        - proftpd_db_connection=galaxy@galaxy-postgres
        - proftpd_db_username=galaxy
        - proftpd_db_password=<PASSWORD>
        - proftpd_files_dir=/export/ftp
        - proftpd_use_sftp=True
        - proftpd_generate_ssh_key=False
        - proftpd_passive_port_low=30000
        - proftpd_passive_port_high=30010
    container_name: galaxy-proftpd
    hostname: galaxy-proftpd
    volumes:
        - ./galaxy-storage/ftp:/export/ftp
    expose:
        - 21
        - 22
    ports:
        - "8021:21"
        - "8022:22"
        - "30000-30010:30000-30010"
    restart: always

  postgres:
# Using the official postgres image. This needs to be populated by calling
#  docker-compose run galaxy install_db.sh
# on first run
#    image: postgres
# This comes with an initialization to quickly populate the database on first start
#    build: galaxy-postgres
    image: quay.io/galaxy/postgres:compose
    container_name: galaxy-postgres
    hostname: galaxy-postgres
    environment:
        - POSTGRES_PASSWORD=<PASSWORD>
        - POSTGRES_USER=galaxy
        - POSTGRES_DB=galaxy
    volumes:
        - ./postgres-storage:/var/lib/postgresql/data

  # slurm container
  slurm:
#    build: galaxy-slurm
    image: quay.io/galaxy/slurm:compose
    environment: {}
    container_name: galaxy-slurm
    hostname: galaxy-slurm
    volumes:
        - ./galaxy-storage/:/export
    restart: always

  # This container initializes the galaxy export.
  galaxy-init:
#    build: galaxy-init
    image: quay.io/bgruening/galaxy-init:compose
    container_name: galaxy-init
    hostname: galaxy-init
    volumes:
        # This is the directory where all your files from Galaxy will be stored
        # on your host system
        - ./galaxy-storage/:/export/

  # This container provides the galaxy uwsgi webhandlers, job handlers, nginx
  galaxy-web:
#    build: galaxy-web
    image: quay.io/bgruening/galaxy-web:compose
    environment:
        # In case the galaxy-init container is not used, you need to include "sleeplock" to NONUSE
        - NONUSE=proftpd,postgres,slurmd,slurmctld
        - GALAXY_DEFAULT_ADMIN_USER=<EMAIL>
        - GALAXY_DEFAULT_ADMIN_PASSWORD=<PASSWORD>
        - GALAXY_DEFAULT_ADMIN_KEY=admin
        - GALAXY_HANDLER_NUMPROCS=2
        - UWSGI_PROCESSES=4
        - GALAXY_CONFIG_ALLOW_USER_DATASET_PURGE=True
        - GALAXY_CONFIG_ALLOW_LIBRARY_PATH_PASTE=True
        - GALAXY_CONFIG_ENABLE_USER_DELETION=True
        - GALAXY_CONFIG_ENABLE_BETA_WORKFLOW_MODULES=True
        - GALAXY_CONFIG_DATABASE_CONNECTION=postgresql://galaxy:chaopagoosaequuashie@galaxy-postgres/galaxy?client_encoding=utf8
        # Configurate admin and master api key. Can be overridden in galaxy.ini
        - GALAXY_CONFIG_ADMIN_USERS=<EMAIL>
        - GALAXY_CONFIG_MASTER_API_KEY=<KEY>
    container_name: galaxy-web
    hostname: galaxy<commit_msg>Added rabbitmq for high performance internal message queue<commit_after>version: '2'
services:
  # proftpd container
  proftpd:
#    build: galaxy-proftpd
    image: quay.io/galaxy/proftpd:compose
    environment:
        - proftpd_db_connection=galaxy@galaxy-postgres
        - proftpd_db_username=galaxy
        - proftpd_db_password=<PASSWORD>opagoosaequuashie
        - proftpd_files_dir=/export/ftp
        - proftpd_use_sftp=True
        - proftpd_generate_ssh_key=False
        - proftpd_passive_port_low=30000
        - proftpd_passive_port_high=30010
    container_name: galaxy-proftpd
    hostname: galaxy-proftpd
    volumes:
        - ./galaxy-storage/ftp:/export/ftp
    expose:
        - 21
        - 22
    ports:
        - "8021:21"
        - "8022:22"
        - "30000-30010:30000-30010"
    restart: always

  postgres:
# Using the official postgres image. This needs to be populated by calling
#  docker-compose run galaxy install_db.sh
# on first run
#    image: postgres
# This comes with an initialization to quickly populate the database on first start
#    build: galaxy-postgres
    image: quay.io/galaxy/postgres:compose
    container_name: galaxy-postgres
    hostname: galaxy-postgres
    environment:
        - POSTGRES_PASSWORD=chaopagoosaequuashie
        - POSTGRES_USER=galaxy
        - POSTGRES_DB=galaxy
    volumes:
        - ./postgres-storage:/var/lib/postgresql/data

  # slurm container
  slurm:
#    build: galaxy-slurm
    image: quay.io/galaxy/slurm:compose
    environment: {}
    container_name: galaxy-slurm
    hostname: galaxy-slurm
    volumes:
        - ./galaxy-storage/:/export
    restart: always

  # This container initializes the galaxy export.
  galaxy-init:
#    build: galaxy-init
    image: quay.io/bgruening/galaxy-init:compose
    container_name: galaxy-init
    hostname: galaxy-init
    volumes:
        # This is the directory where all your files from Galaxy will be stored
        # on your host system
        - ./galaxy-storage/:/export/

  # Messagequeue for better performance
  rabbitmq:
    image: rabbitmq:alpine
    container_name: galaxy-rabbitmq
    hostname: rabbitmq
    environment:
        - RABBITMQ_DEFAULT_USER=galaxy
        - RABBITMQ_DEFAULT_PASS=<PASSWORD>
        - RABBITMQ_DEFAULT_VHOST=galaxy
    volumes:
        - ./galaxy-storage/rabbitmq:/var/lib/rabbitmq

  # This container provides the galaxy uwsgi webhandlers, job handlers, nginx
  galaxy-web:
#    build: galaxy-web
    image: quay.io/bgruening/galaxy-web:compose
    environment:
        # In case the galaxy-init container is not used, you need to include "sleeplock" to NONUSE
        - NONUSE=proftpd,postgres,slurmd,slurmctld
        - GALAXY_DEFAULT_ADMIN_USER=<EMAIL>
        - GALAXY_DEFAULT_ADMIN_PASSWORD=<PASSWORD>
        - GALAXY_DEFAULT_ADMIN_KEY=admin
        - GALAXY_HANDLER_NUMPROCS=2
        - UWSGI_PROCESSES=4
        - GALAXY_CONFIG_ALLOW_USER_DATASET_PURGE=True
        - GALAXY_CONFIG_ALLOW_LIBRARY_PATH_PASTE=True
        - GALAXY_CONFIG_ENABLE_USER_DELETION=True
        - GALAXY_CONFIG_ENABLE_BETA_WORKFLOW_MODULES=True
        - GALAXY_CONFIG_DATABASE_CONNECTION=postgresql://galaxy:chaopagoosaequuashie@galaxy-postgres/galaxy?client_encoding=utf8
        # Configurate admin and master api key. Can be overridden in galaxy.ini
        - GALAXY_CONFIG_ADMIN_USERS=<EMAIL>
        - GALAXY_CONFIG_MASTER_API_KEY=<KEY>
        - GALAXY_CONFIG_AMQP_INTERNAL_CONNECTION=amqp://galaxy:vaiJa3ieghai2ief0jao@rabbitmq/galaxy 
    container_name: galaxy-web
    hostname: galaxy
{'fraction_non_alphanumeric': 0.07750759878419453, 'fraction_numerical': 0.015653495440729484, 'mean_word_length': 2.8666274970622796, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '1750123', 'n_tokens_mistral': 2353, 'n_tokens_neox': 2260, 'n_words': 408}