Created
March 26, 2015 06:33
-
-
Save krisanalfa/7f6c86ee8235fdccceb7 to your computer and use it in GitHub Desktop.
pas config for MySQL
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
{ | |
"name": "xinix-technology/generalli", | |
"version": "1.0.0", | |
"profile": "docker", | |
"docker": { | |
"containers": { | |
"nginx": { | |
"ports": [ | |
"80:80" | |
], | |
"links": [ | |
"fpm" | |
], | |
"volumes": [ | |
"./containers/nginx/root/usr/share/generali:/usr/share/generali" | |
] | |
}, | |
"fpm": { | |
"volumes": [ | |
"./containers/nginx/root/usr/share/generali:/usr/share/generali" | |
], | |
"links": [ | |
"mysql" | |
] | |
}, | |
"mysql": { | |
"ports": [ | |
"3306:3306" | |
], | |
"env": { | |
"MYSQL_ROOT_PASSWORD": "password" | |
}, | |
"volumes": [ | |
"./srv/db/mysql:/var/lib/mysql" | |
] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment