Newer
Older

Hartung, Michael
committed
version: '3.8'
image: drugstone_backend
container_name: drugstone_backend

Hartung, Michael
committed
command:
- "sh"
- "/usr/src/drugstone/docker-entrypoint.sh"

Hartung, Michael
committed
- 'docker-django.env.dev'
AndiMajore
committed
volumes:
- drugstone_backend_volume:/usr/src/drugstone/drugstone/migrations
depends_on:
- db
- redis
db:
image: postgres
- drugstone_postgres_volume:/var/lib/postgresql/data_drugstone/
- POSTGRES_DB=drugstone
- POSTGRES_USER=drugstone

Hartung, Michael
committed
command:

Hartung, Michael
committed
- "-c"
- "max_connections=10000"
- "-c"
- "shared_buffers=2GB"
redis:
image: redis
restart: always
command: ["redis-server"]
networks:

Hartung, Michael
committed
ports:
- 6379:6379

Hartung, Michael
committed
command:
- "sh"
- "/usr/src/drugstone/scripts/start_celery_worker.sh"
AndiMajore
committed
image: drugstone_backend
container_name: drugstone_celery
hostname: drugstone_celery

Hartung, Michael
committed
env_file:
- './docker-django.env.dev'

Hartung, Michael
committed
command:
- "sh"
- "/usr/src/drugstone/scripts/start_celery_beat.sh"
AndiMajore
committed
image: drugstone_backend
container_name: drugstone_celery_beat
hostname: drugstone_celery_beat

Hartung, Michael
committed
env_file:
- './docker-django.env.dev'

Hartung, Michael
committed
flower:
image: mher/flower
container_name: drugstone_flower
env_file:
- './docker-django.env.dev'
ports:
- 8888:8888
networks:
- drugstone_net
drugstone_postgres_volume:
drugstone_backend_volume: