Created
July 7, 2020 18:28
-
-
Save mrcat323/32bb94b957ce20f1edcfbc63b36b7a0f to your computer and use it in GitHub Desktop.
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
db: | |
image: mysql:5.7 | |
container_name: db_mysql | |
restart: unless-stopped | |
environment: | |
MYSQL_DATABASE: laravel | |
MYSQL_ROOT_PASSWORD: jojo | |
MYSQL_USER: root | |
MYSQL_PASSWORD: jojo | |
SERVICE_TAGS: dev | |
SERVICE_NAME: mysql | |
volumes: | |
- db_data:/var/lib/mysql | |
networks: | |
- docker-laravel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment