Last active
December 31, 2015 06:09
-
-
Save pommi/7945771 to your computer and use it in GitHub Desktop.
Run a Mendix App in a Docker container in seconds
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
root@host:~# docker run -d mendix/mendix | |
root@host:~# curl -XPOST -F [email protected] http://172.17.0.5:5000/upload/ | |
File uploaded. | |
root@host:~# curl -XPOST http://172.17.0.5:5000/unpack/ | |
Runtime downloaded and Model unpacked. | |
root@host:~# curl -XPOST -d "DatabaseHost=172.17.0.4:5432" -d "DatabaseUserName=docker" -d "DatabasePassword=docker" -d "DatabaseName=docker" http://172.17.0.5:5000/config/ | |
Config set. | |
root@host:~# curl -XPOST http://172.17.0.5:5000/start/ | |
App started. (Database updated) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment