Skip to content

Instantly share code, notes, and snippets.

@syakuis
Created April 7, 2019 15:49
Show Gist options
  • Save syakuis/01b8ccdf2cfbb7d34b55c05dcadae786 to your computer and use it in GitHub Desktop.
Save syakuis/01b8ccdf2cfbb7d34b55c05dcadae786 to your computer and use it in GitHub Desktop.
rabbitmq docker compose
version: '3'
services:
rabbitmq:
image: 'rabbitmq:3-management'
container_name: 'rabbitmq'
hostname: 'rabbitmq'
ports:
- '15672:15672'
- '5672:5672'
volumes:
- './rabbitmq_data:/var/lib/rabbitmq'
environment:
RABBITMQ_DEFAULT_USER: 'user'
RABBITMQ_DEFAULT_PASS: '1234'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment