Created
March 24, 2021 20:20
-
-
Save dcunited08/e2c961510b485e70ef0707333233154c 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
version: '2' | |
services: | |
db: | |
image: percona:5.7 | |
volumes: | |
- db_data:/var/lib/mysql | |
restart: always | |
ports: | |
- "3306:3306" | |
environment: | |
MYSQL_ROOT_PASSWORD: password | |
MYSQL_DATABASE: my_db | |
MYSQL_USER: user | |
MYSQL_PASSWORD: password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment