Last active
May 25, 2016 15:07
-
-
Save NewGyu/9b27e44fcd9205d8024b6e2186cfc0e4 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
console: | |
image: alpine | |
links: | |
- localdb | |
volumes_from: | |
- datavolume | |
command: sh | |
datavolume: | |
image: alpine | |
volumes: | |
- /hoge/fuga | |
command: sh | |
localdb: | |
image: mysql:latest | |
environment: | |
MYSQL_ROOT_PASSWORD: rootpass | |
MYSQL_DATABASE: hogedb | |
MYSQL_USER: hogehoge | |
MYSQL_PASSWORD: fugafuga | |
volumes: | |
- ./data:/var/lib/mysql | |
ports: | |
- "3306:3306" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment