Last active
July 11, 2021 09:11
-
-
Save ChewySalmon/9fc3f4e409e391126e48408671241b3e to your computer and use it in GitHub Desktop.
Database layer
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
database: | |
image: mysql:8.0.25 | |
volumes: | |
- dbdata:/var/lib/mysql | |
environment: | |
MYSQL_DATABASE: ${DB_DATABASE} | |
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD} | |
MYSQL_PASSWORD: ${DB_PASSWORD} | |
MYSQL_USER: ${DB_USERNAME} | |
ports: | |
- 33061:3306 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment