2024-02-25 08:38:08 +01:00
|
|
|
services:
|
|
|
|
db:
|
|
|
|
shm_size: 128mb
|
|
|
|
image: postgres
|
|
|
|
env_file:
|
|
|
|
- ./.env.docker
|
|
|
|
volumes:
|
2024-02-25 15:51:10 +01:00
|
|
|
- ./pgdata:/var/lib/postgresql/data
|
2024-02-25 08:38:08 +01:00
|
|
|
redis:
|
|
|
|
image: redis
|
|
|
|
env_file:
|
|
|
|
- ./.env.docker
|
|
|
|
celery:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
target: builder
|
|
|
|
env_file:
|
|
|
|
- ./.env.docker
|
|
|
|
entrypoint: ./entrypoint_celery.sh
|
2024-02-27 16:57:26 +01:00
|
|
|
volumes:
|
|
|
|
- ./media/:/app/app/static/media/
|
2024-02-25 08:38:08 +01:00
|
|
|
web:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
target: builder
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
- redis
|
|
|
|
env_file:
|
|
|
|
- ./.env.docker
|
|
|
|
volumes:
|
|
|
|
- ./.gunicorn.conf.py:/app/gunicorn.conf.py
|
2024-02-25 15:51:10 +01:00
|
|
|
- ./media/:/app/app/static/media/
|
2024-02-25 08:38:08 +01:00
|
|
|
ports:
|
|
|
|
- '8080:5000'
|
|
|
|
adminer:
|
|
|
|
image: adminer
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 8888:8080
|
|
|
|
|
|
|
|
|