Skip to content

Instantly share code, notes, and snippets.

@evildmp
Created April 23, 2019 05:41
Show Gist options
  • Save evildmp/73b60a50440635a461cb3657958abcfe to your computer and use it in GitHub Desktop.
Save evildmp/73b60a50440635a461cb3657958abcfe to your computer and use it in GitHub Desktop.
rabbitmq:
image: rabbitmq:3.5-management
hostname: rabbitmq
ports:
- "15672:15672"
expose:
- "15672"
environment:
RABBITMQ_ERLANG_COOKIE: <use the secret cookie here>
celeryworker:
build: .
links:
- "db:postgres"
- "rabbitmq:rabbitmq"
volumes:
- ".:/app:rw"
- "./ data:/data:rw"
env_file: .env-local
command: aldryn-celery worker
celerybeat:
build: .
command: aldryn-celery beat
links:
- "db:postgres"
volumes:
- ".:/app:rw"
- "./data:/data:rw"
env_file: .env-local
celerycam:
build: .
command: aldryn-celery cam
links:
- "db:postgres"
volumes:
- ".:/app:rw"
- "./data:/data:rw"
env_file: .env-local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment