forked from enviPath/enviPy
Initial bayer app Show Pack Classification Adjusted docker compose to bayer specifics Adjusted Dockerfile for Bayer Adding secret flags to group, add secret pools to packages Adjusted View for Package creation Prep configs, added Package Create Modal wip More on PES wip wip
55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
services:
|
|
db:
|
|
image: postgres:18
|
|
container_name: eppostgres
|
|
environment:
|
|
POSTGRES_USER: ${POSTGRES_USER}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
POSTGRES_DB: ${POSTGRES_DB}
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- ep_bayer_postgres_data:/var/lib/postgresql
|
|
healthcheck:
|
|
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
container_name: epredis
|
|
ports:
|
|
- "6379:6379"
|
|
volumes:
|
|
- ep_bayer_redis_data:/data
|
|
|
|
biotransformer3:
|
|
image: envipath/biotransformer3:1.0
|
|
container_name: epbiotransformer3
|
|
|
|
# web:
|
|
# image: envipath/envipy-bayer:1.0
|
|
# container_name: epdjango
|
|
# ports:
|
|
# - "127.0.0.1:8000:8000"
|
|
# env_file:
|
|
# - .env
|
|
# command: gunicorn envipath.wsgi:application --bind 0.0.0.0:8000 --workers 3
|
|
# volumes:
|
|
# - ep_bayer_data:/opt/enviPy/
|
|
|
|
celery_worker:
|
|
image: envipath/envipy-bayer:1.0
|
|
container_name: epcelery
|
|
env_file:
|
|
- .env.dev
|
|
command: celery -A envipath worker --concurrency=6 -Q model,predict,background --pool threads
|
|
volumes:
|
|
- ep_bayer_data:/opt/enviPy/
|
|
|
|
volumes:
|
|
ep_bayer_postgres_data:
|
|
ep_bayer_redis_data:
|
|
ep_bayer_data:
|