Docker ready installation for MFBot and Web interface.
Prepare Acc.ini file on MFBot's Windows version. Go to the Settings > Network > Remote Access. Enable remote access - set IP to 127.0.0.1 and choose suitable port number, in my case it's 6969.
- Clone repo
-
Paste Acc.ini file into main repo folder
-
Build Docker image
docker build -t mfbot -f Dockerfile .
- Run Docker container
docker run -p 8050:8050 -dit mfbot
- Get containers IP address
docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' <container ID>
- Open web interface in you browser. User and password is "admin" by default.
http://<container IP>:8050
- Happy boting!
To change port on which web interface is listeing you need to edit globalVariables.py file located in Web/Functions/
ADRESS = 'http://127.0.0.1:6969/' - change port to one set in Remote Access settings
serverPort = 8050 - Web interface will be available at this port