Created
February 24, 2017 17:02
-
-
Save tonywangcn/3be7d801243044913022816b4193b41b 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: '2' | |
services: | |
rabbit: | |
hostname: rabbit | |
image: rabbitmq:latest | |
environment: | |
- RABBITMQ_DEFAULT_USER=admin | |
- RABBITMQ_DEFAULT_PASS=mypass | |
ports: | |
- "5672:5672" | |
worker: | |
build: | |
context: . | |
dockerfile: dockerfile | |
volumes: | |
- .:/app | |
links: | |
- rabbit | |
depends_on: | |
- rabbit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment