Created
October 2, 2022 08:26
-
-
Save umuralpay/da229c9e970fb282da6a8c0773102bfa to your computer and use it in GitHub Desktop.
Mysql docker-compose
This file contains 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: | |
mysql-test-db: | |
image: mysql:8.0 | |
container_name: mysql-test-db | |
environment: | |
MYSQL_DATABASE: 'demo' | |
MYSQL_USER: 'user' | |
MYSQL_PASSWORD: 'password' | |
MYSQL_ROOT_PASSWORD: 'password' | |
MYSQL_ROOT_HOST: '%' | |
ports: | |
- '3306:3306' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment