Created
November 18, 2019 15:19
-
-
Save Nick0603/cbacd49ccdd58ce7315d0d63475f62e9 to your computer and use it in GitHub Desktop.
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
version: '3.3' | |
services: | |
db: | |
image: mysql:5.7 | |
restart: always | |
environment: | |
MYSQL_DATABASE: ${DB_DATABASE:-werewolves} | |
MYSQL_USER: ${DB_USERNAME:-user} | |
MYSQL_PASSWORD: ${DB_PASSWORD:-password} | |
MYSQL_ROOT_PASSWORD: 'password' | |
ports: | |
- '3306:3306' | |
expose: | |
- '3306' | |
volumes: | |
- my-db:/var/lib/mysql | |
volumes: | |
my-db: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment