- Created subfolder “mysql” for app dep
mkdir mysql
- Created “mysql/Appfile” w/ mysql-Appfile contents
cd mysql && otto compile
- created "root" Appfile w/ root-Appfile content
otto compile && otto dev build
in “root” folder
Last active
September 29, 2015 16:05
-
-
Save jrnt30/de9a0cb1f1595d5fb0b4 to your computer and use it in GitHub Desktop.
MySql with Otto Depdency
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
application { | |
name = "mysql" | |
type = "docker-external" | |
} | |
customization "docker" { | |
image = "mysql:5.6" | |
run_args = "-p 3306:3306 -e MYSQL_ROOT_PASSWORD=my-secret-pw" | |
} |
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
application { | |
type = "php" | |
name = "wordpress-demo" | |
dependency { | |
source = "./mysql" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment