Skip to content

Instantly share code, notes, and snippets.

@timfreund
Created June 10, 2016 15:57
Show Gist options
  • Save timfreund/feb770e549e4d0545602aac342ed5034 to your computer and use it in GitHub Desktop.
Save timfreund/feb770e549e4d0545602aac342ed5034 to your computer and use it in GitHub Desktop.
beat:
build: .
command: ./manage.py celery beat -l DEBUG
links:
- rabbitmq
volumes:
- .:/usr/src/app
web:
build: .
command: ./manage.py runserver 0.0.0.0:8000
links:
- rabbitmq
ports:
- "8000:8000"
volumes:
- .:/usr/src/app
worker:
build: .
command: ./manage.py celery worker
links:
- rabbitmq
volumes:
- .:/usr/src/app
rabbitmq:
image: library/rabbitmq
ports:
- "5672:5672"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment