Dockerized Version for MFBot-Terminal
Use the example docker-compose.yml to build the image yourself Comment the build array to use docker-hub.
Run via docker run:
docker run tekook/mfbot-terminal -v ./data:/data
./data must contain your Acc.ini and will contain all database and log files of the bot.
Attach to the container to do stuff with the bot :-)
docker attach <container_name>
(Leave attach via CTRL-P,CTRL-Q
)
version: "3.5"
services:
bot:
image: tekook/mfbot-terminal
volumes:
- ./data:/data
stdin_open: true
tty: true
Note : stdin_open & tty is neccesary via compose so the shell is interactive.