Update 'MagicBox : Magicbane in a Box'

master
MagicBot 3 years ago
parent
commit
353e0ee33e
  1. 8
      MagicBox-%3A-Magicbane-in-a-Box.md

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

@ -26,15 +26,15 @@ Docker is available for most all operating systems. Along with a Docker Hub acc
- Sign into Docker Hub - Sign into Docker Hub
`docker login` ```docker login ```
Pull the image Pull the image
```console docker pull magicbane/magicbox ``` ```docker pull magicbane/magicbox ```
### Starting MagicBox ### Starting MagicBox
```console 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/mbbox/magicbane/mb.conf magicbane/magicbox:latest & ```
>It is recommended that you change the external port via the docker run command not within the [magicbane.conf](http://repo.magicbane.com/MagicBane/Server/wiki/magicbane.conf) configuration file. Docker will automatically route ip traffic through the bridge to the correct interal port. MagicBox uses three ports. 5000 is used 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. >It is recommended that you change the external port via the docker run command not within the [magicbane.conf](http://repo.magicbane.com/MagicBane/Server/wiki/magicbane.conf) configuration file. Docker will automatically route ip traffic through the bridge to the correct interal port. MagicBox uses three ports. 5000 is used 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.
@ -74,6 +74,6 @@ When the time comes whether through Discord or Forum registration we have the ba
Once MagicBox is running the following will grant you shell access. Once MagicBox is running the following will grant you shell access.
```console docker exec -it magicbox /bin/bash``` ```docker exec -it magicbox /bin/bash```
>MagicBox currently runs with an internal UID/GID of 1000/1000. Better integration occurs if the user running the container has 1000/1000 as well. Otherise the running container might not have write access to the mb.conf mount or possibly could display as an incorrect user in top. >MagicBox currently runs with an internal UID/GID of 1000/1000. Better integration occurs if the user running the container has 1000/1000 as well. Otherise the running container might not have write access to the mb.conf mount or possibly could display as an incorrect user in top.
Loading…
Cancel
Save