Created
February 15, 2020 17:24
-
-
Save naveed125/2d7dda2ae7ef2a484752798ae255f50b to your computer and use it in GitHub Desktop.
docker-compose file for managing a RabbitMQ based job worker
This file contains 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: | |
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