Created
February 15, 2019 23:55
-
-
Save williln/dcc16a923b68c146481002f10a20a881 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
db: | |
[your DB info] | |
web: | |
[your web info] | |
redis: | |
image: "redis:alpine" | |
celery: | |
build: . | |
entrypoint: celery -A [directory with your celery.py] worker -l debug | |
volumes: | |
- .:/code | |
depends_on: | |
- db | |
- redis | |
environment: | |
- DJANGO_READ_DOT_ENV_FILE=true | |
- PYTHONDONTWRITEBYTECODE=true | |
volumes: | |
postgres_data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment