This repository has been archived on 2021-02-14. You can view files and clone it, but cannot push or open issues or pull requests.
2019-09-30 15:52:23 +00:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
backend:
|
|
|
|
build: .
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- .:/opt/app
|
|
|
|
ports:
|
|
|
|
- 8000:8000
|
|
|
|
depends_on:
|
|
|
|
- redis
|
2019-09-30 16:45:00 +00:00
|
|
|
env_file:
|
|
|
|
- .env
|
2019-09-30 15:52:23 +00:00
|
|
|
|
|
|
|
redis:
|
|
|
|
image: redis:5
|
2019-09-30 16:13:37 +00:00
|
|
|
|
|
|
|
worker:
|
|
|
|
build: .
|
|
|
|
restart: always
|
|
|
|
command: poetry run python manage.py rundramatiq
|
|
|
|
volumes:
|
|
|
|
- .:/opt/app
|
|
|
|
depends_on:
|
|
|
|
- redis
|
2019-09-30 16:45:00 +00:00
|
|
|
env_file:
|
|
|
|
- .env
|