Created
November 3, 2020 08:07
-
-
Save dipeshhkc/8913eed36f5b19e7941d0cf8f0c80b99 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
database: | |
build: | |
context: . | |
dockerfile: ./docker/db.dockerfile | |
environment: | |
MYSQL_ROOT_PASSWORD: root | |
MYSQL_USER: root | |
MYSQL_PASSWORD: root | |
MYSQL_DATABASE: golang-docker | |
container_name: golang-docker-db | |
ports: | |
- 33066:3306 | |
volumes: | |
- golang-docker-data:/var/lib/mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment