Update 'MagicBox : Magicbane in a Box'
@@ -38,7 +38,7 @@ Pull the latest MagicBox image to your local machine.
|
|||||||
|
|
||||||
### Starting the MagicBox
|
### Starting the MagicBox
|
||||||
|
|
||||||
>Note the paths to mount the config directory must be absolute paths.
|
>Note the paths to mount the config directory must be absolute paths. (containerpath:hostpath)
|
||||||
|
|
||||||
Linux
|
Linux
|
||||||
|
|
||||||
@@ -66,7 +66,7 @@ docker rm -f magicbox > /dev/null 2>&1
|
|||||||
# start container
|
# start container
|
||||||
|
|
||||||
echo "Starting MagicBox"
|
echo "Starting MagicBox"
|
||||||
docker run --name magicbox -p 5000:5000 -p 6000:6000 -p 8000:8000 -v /home/mbbox/mb.conf:/home/magicbox/mb.conf magicbane/magicbox:latest &
|
docker run --name magicbox -p 5000:5000 -p 6000:6000 -p 8000:8000 -v /home/mbbox/magicbane/mb.conf:/home/mbbox/mb.conf magicbane/magicbox:latest &
|
||||||
```
|
```
|
||||||
|
|
||||||
### Logging into a fresh MagicBox
|
### Logging into a fresh MagicBox
|
||||||
@@ -156,7 +156,9 @@ magicbox~/magicbane$sudo sh
|
|||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
||||||
Upon bootstrap MagicBox will first look for a [magicbane.conf](http://repo.magicbane.com/MagicBane/Server/wiki/magicbane.conf) file within the mb.conf host directory we mounted in the run command. If it cannot be found the game will instead use a default copy inside mb.data/ to boot with. This configuration boots using an internal MySQL server pre-loaded with a wiped database.
|
> ***mb.conf/** is a directory shared between MagicBox and the host. Inside MagicBox it is mounted at ~/magicbane/mb.conf. User preference through the Run command where on the host the directory is mounted. You can use this direcotry to easily transfer files from the host to the container.
|
||||||
|
|
||||||
|
Upon bootstrap MagicBox will first look for [magicbane.conf](http://repo.magicbane.com/MagicBane/Server/wiki/magicbane.conf) within the shared mb.conf/ directory. If not present the game will boot from default copy inside mb.data/. This configuration boots using an internal MySQL server pre-loaded with a wiped database.
|
||||||
|
|
||||||
The game will inform you on bootstrap the location of the .conf file it is using.
|
The game will inform you on bootstrap the location of the .conf file it is using.
|
||||||
|
|
||||||
@@ -190,4 +192,8 @@ The MagicBox container is perfectly secure out of the box. It is a minimal linu
|
|||||||
|
|
||||||
This can be verified with `sudo apt list --installed` from inside the continer.
|
This can be verified with `sudo apt list --installed` from inside the continer.
|
||||||
|
|
||||||
It will not be so secure if you start additional services and open additional ports. Try not to spin up ssh server on a container that shares the same passwords and deploy key as every other MagicBox!
|
It will not be so secure if you start additional services and open additional ports. Try not to spin up ssh server on a container that shares the same passwords and deploy key as every other MagicBox!
|
||||||
|
|
||||||
|
### Support
|
||||||
|
|
||||||
|
Support is available on the Magicbane Discord server. Join at www.magicbane.com and pick MagicBot's brain.
|
||||||
Reference in New Issue
Block a user