Created
July 9, 2020 05:15
-
-
Save einnar82/7731c1ddf6bb178b0912daaf3f0c3c50 to your computer and use it in GitHub Desktop.
Multiple database instance in 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
services: | |
telescope-db: | |
image: mysql | |
command: --default-authentication-plugin=mysql_native_password | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: example | |
app-db: | |
image: mysql | |
command: --default-authentication-plugin=mysql_native_password | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: example |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment