Skip to content

Instantly share code, notes, and snippets.

@serinth
Created May 9, 2019 08:56
Show Gist options
  • Save serinth/1a01ecd14d51fd45320feaa49b10b78c to your computer and use it in GitHub Desktop.
Save serinth/1a01ecd14d51fd45320feaa49b10b78c to your computer and use it in GitHub Desktop.
MySQL and RabbitMQ Docker Compose
version: '3.7'
services:
rabbitmq:
image: heidiks/rabbitmq-delayed-message-exchange:3.7-management
environment:
- RABBITMQ_DEFAULT_USER=<USERNAME>
- RABBITMQ_DEFAULT_PASS=<PASSWORD>
ports:
- "15672:15672" #localhost:15672 for debugging UI
- "5672:5672"
mysql:
image: mysql:8.0.15
container_name: iotmessenger-mysql
command: --default-authentication-plugin=mysql_native_password
environment:
- MYSQL_ROOT_PASSWORD=<USERNAME>
- MYSQL_DATABASE=<PASSWORD>
ports:
- "3306:3306"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment