Skip to content

Instantly share code, notes, and snippets.

@naveed125
Created February 15, 2020 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naveed125/2d7dda2ae7ef2a484752798ae255f50b to your computer and use it in GitHub Desktop.
Save naveed125/2d7dda2ae7ef2a484752798ae255f50b to your computer and use it in GitHub Desktop.
docker-compose file for managing a RabbitMQ based job worker
version: '3'
services:
rabbitmq:
image: 'rabbitmq:3.6-management-alpine'
ports:
- '5672:5672'
- '15672:15672'
worker:
build: worker
volumes:
- ./worker:/app
environment:
- PYTHONUNBUFFERED=1
server:
build: server
volumes:
- ./server:/app
ports:
- 5000:5000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment