Skip to content

Instantly share code, notes, and snippets.

@ryanSN
Created December 7, 2018 21:43
Show Gist options
  • Save ryanSN/a764194323e7919a197830c410491b11 to your computer and use it in GitHub Desktop.
Save ryanSN/a764194323e7919a197830c410491b11 to your computer and use it in GitHub Desktop.
rabbit simple docker file run
version: "3"
services:
rabbit:
image: "rabbitmq:3.7.8-management-alpine"
hostname: "rabbit"
environment:
RABBITMQ_DEFAULT_USER: "rabbitmq"
RABBITMQ_DEFAULT_PASS: "rabbitmq"
RABBITMQ_DEFAULT_VHOST: "/"
ports:
- "15672:15672"
volumes:
- rabbitmq-data:/var/lib/rabbitmq
volumes:
rabbitmq-data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment