Select Git revision
.gitmodules
-
Oleg Kalashev authoredOleg Kalashev authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
docker-compose-prod.yml 2.78 KiB
version: '3.3'
services:
frontend:
container_name: drugstone_frontend
image: gitlab.rrz.uni-hamburg.de:4567/cosy-bio/drugst.one/website:prod
restart: always
ports:
- 8031:80
networks:
- drugstone
labels:
- "com.centurylinklabs.watchtower.enable=true"
backend:
image: gitlab.rrz.uni-hamburg.de:4567/cosy-bio/drugst.one/backend:prod
container_name: drugstone_backend
command:
- "sh"
- "scripts/docker-entrypoint.sh"
env_file:
- 'docker-django.env'
restart: always
volumes:
- drugstone_db_schema_volume:/usr/src/drugstone/drugstone/migrations
- drugstone_data_volume:/usr/src/drugstone/data
ports:
- 8032:8000
networks:
- drugstone
depends_on:
- db
- redis
labels:
- "com.centurylinklabs.watchtower.enable=true"
db:
image: postgres:14
container_name: drugstone_postgres
restart: always
hostname: drugstone_postgres
# ports:
# - 5432:5432
networks:
- drugstone
volumes:
- drugstone_db_volume:/var/lib/postgresql/data
environment:
- POSTGRES_DB=drugstone
- POSTGRES_USER=drugstone
- POSTGRES_PASSWORD=t6278yczAH7rPKVMxaDD
command:
- "postgres"
- "-c"
- "max_connections=10000"
- "-c"
- "shared_buffers=2GB"
redis:
image: redis:7.0.7
container_name: drugstone_redis
restart: always
command: ["redis-server"]
networks:
- drugstone
# ports:
# - 6379:6379
celery:
image: gitlab.rrz.uni-hamburg.de:4567/cosy-bio/drugst.one/backend:prod
command:
- "sh"
- "scripts/start_celery_worker.sh"
restart: always