Update 'MagicBox : Magicbane in a Box'

master
MagicBot 3 years ago
parent
commit
ec91bb2464
  1. 11
      MagicBox-%3A-Magicbane-in-a-Box.md

11
MagicBox-%3A-Magicbane-in-a-Box.md

@ -20,7 +20,6 @@ @@ -20,7 +20,6 @@
Docker is available for most all operating systems. Along with a Docker Hub account these are the only two pre-requisites to running a MagicBox. It is worth mentioning that Docker is most at home on Linux. The following instructions assume a Linux host.
Instructions specific to the WinTel platform can be found on the [MagicBox Windows Page](http://repo.magicbane.com/MagicBane/Server/wiki/MagicBox-:-Magicbane-in-a-Box)
[Install Docker](https://docs.docker.com/get-docker/)
@ -36,7 +35,13 @@ Pull the image @@ -36,7 +35,13 @@ Pull the image
### Starting MagicBox
```docker run --name magicbox -p 5000:5000 -p 6000:6000 -p 8000:8000 -v /home/mbbox/mb.conf:/home/mbbox/magicbane/mb.conf magicbane/magicbox:latest & ```
>Note the path to mount the config directory on the host machine must be an abosolute path.
```docker run --name magicbox -p 5000:5000 -p 6000:6000 -p 8000:8000 -v /home/mbbox/mb.conf:/home/YOURDIRHERE/magicbane/mb.conf magicbane/magicbox:latest & ```
Windows
```docker run --name magicbox -p 5000:5000 -p 6000:6000 -p 8000:8000 -v /home/mbbox/mb.conf:\c\Users\YOURDIRHERE\mb.conf magicbane/magicbox:latest &```
>It is recommended that you change the external port only via the docker run command not within [magicbane.conf](http://repo.magicbane.com/MagicBane/Server/wiki/magicbane.conf). Docker will automatically bridge traffic to the correct interal port. MagicBox uses three ports. 5000 is used optionally for a debugger or profiler. 6000 is used for the login server. 8000 is used for the world server. If behind a NAT/router the user must open these ports on his router or configure a DMZ.
@ -56,7 +61,7 @@ docker rm -f magicbox > /dev/null 2>&1 @@ -56,7 +61,7 @@ docker rm -f magicbox > /dev/null 2>&1
# start container
echo "Starting MagicBox"
docker run --name magicbox -p 5000:5000 -p 6000:6000 -p 8000:8000 -v /home/mbbox/mb.conf:/home/mbbox/magicbane/mb.conf magicbane/magicbox:latest &
docker run --name magicbox -p 5000:5000 -p 6000:6000 -p 8000:8000 -v /home/mbbox/mb.conf:/home/magicbox/magicbane/mb.conf magicbane/magicbox:latest &
```
When a MagicBox administrator first spins up his server it is assumed they might not have web registration sorted on day one. With this in mind the server is configured to auto register accounts on login.

Loading…
Cancel
Save