Public Repository

Last pushed: 2 years ago
Short Description
This container provides an environment to run a Mendix App. This is a beta release.
Full Description

Also see: https://github.com/pommi/mendix-docker

run the image

docker run --name mendix_db -e POSTGRES_USER=mendix -e POSTGRES_PASSWORD=mendix -d postgres
docker run -i --name mendix_app -P --link mendix_db:db -v /path/to/local/data/folder:/srv/mendix/data -d mendix/mendix

start the App

# exec in to container
docker exec -it mendix_app su mendix -c "cd; /bin/bash"
curl http://download.mendix.com/sample/sample.mda -o data/model-upload/sample.mda
m2ee --yolo unpack sample.mda
m2ee download_runtime
m2ee --yolo start

visit the App

curl localhost:$(docker inspect -f '{{(index (index .NetworkSettings.Ports "8000/tcp") 0).HostPort}}' mendix_app)
Docker Pull Command
Owner
mendix