Created
May 9, 2019 08:56
-
-
Save serinth/1a01ecd14d51fd45320feaa49b10b78c to your computer and use it in GitHub Desktop.
MySQL and RabbitMQ Docker Compose
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: '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