Minecraft Bedrock Edition
Using docker to install minecraft_mmccoo with an example website.
Build the images.
docker-compose build
Run basic_test on the example world database
docker-compose run --rm minecraft_mmccoo /basic_test --db_path /home/db
Run server listening on port 80
docker-compose up -d
Open http://localhost in browser
Stop container
docker-compose down
docker-compose down -v (-v option removes the world's map data created by basic_test from /var/www)
The following command provides shell access to the container:
docker-compose run --rm minecraft_mmccoo sh
docker-compose run --rm nginx sh
If you want to run the example on your own local minecraft world db files, simply change the following line in the docker-compose.yml file:
volumes:
- ./world/db:/home/db
...
To
volumes:
- <path to db folder>:/home/db
...