Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker setup files for Mendix

build the image

docker build --rm -t 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-docker setup

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)

About

Docker setup files for Mendix

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages