Created
December 23, 2019 19:39
-
-
Save devisnotnull/1de41bc259128dbd2d549005af7d5652 to your computer and use it in GitHub Desktop.
Mysql 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
# Use root/example as user/password credentials | |
version: '3.1' | |
services: | |
db: | |
image: mysql | |
command: --default-authentication-plugin=mysql_native_password | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: example | |
ports: | |
- 3306:3306 | |
adminer: | |
image: adminer | |
restart: always | |
ports: | |
- 8080:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment