Skip to content

Instantly share code, notes, and snippets.

@pommi
Created December 13, 2013 15:39
Show Gist options
  • Save pommi/7946107 to your computer and use it in GitHub Desktop.
Save pommi/7946107 to your computer and use it in GitHub Desktop.
Now configure Mendix to use this database server.
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 -XGET http://172.17.0.5:5000/config/
{
"DatabaseHost": "172.17.0.4:5432",
"DTAPMode": "P",
"MicroflowConstants": {},
"BasePath": "/home/mendix",
"DatabaseUserName": "docker",
"DatabasePassword": "docker",
"DatabaseName": "docker",
"DatabaseType": "PostgreSQL"
}
root@host:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment