Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.04 KB

README.md

File metadata and controls

43 lines (27 loc) · 1.04 KB

minecraft_mmccoo docker example

Minecraft Bedrock Edition

Using docker to install minecraft_mmccoo with an example website.

Usage

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)

Shell access

The following command provides shell access to the container:

docker-compose run --rm minecraft_mmccoo sh
docker-compose run --rm nginx sh

Bedrock Minecraft World db

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
    ...