- 3.5.0.1, stable, latest (3.5.0.1/Dockerfile)
- 3.4.7 (3.4.7/Dockerfile)
- 3.3.5 (3.3.5/Dockerfile)
To use this image, you need botlogin.txt and phantombot.db in the config folder. To get these files, launch a first start directly from your PC.
if you have already the configuration, ignore this step
sudo mkdir -p /opt/phantombot/{config,dbbackup,logs}
sudo docker run -it \
-p 6667:6667 \
-p 25001-25005:25001-25005 \
-v /opt/phantombot/config:/phantombot/config \
-v /opt/phantombot/dbbackup:/phantombot/dbbackup \
-v /opt/phantombot/logs:/phantombot/logs \
--name phantombot \
xawirses/phantombot:stable
sudo docker run -d \
-p 6667:6667 \
-p 25001-25005:25001-25005 \
-v /opt/phantombot/config:/phantombot/config \
-v /opt/phantombot/dbbackup:/phantombot/dbbackup \
-v /opt/phantombot/logs:/phantombot/logs \
--name phantombot \
--restart=always \
xawirses/phantombot:stable
phantombot:
image: "xawirses/phantombot:stable"
restart: always
ports:
- "6667:6667"
- "25001-25005:25001-25005"
volumes:
- "/opt/PhantomBot/config:/phantombot/config"
- "/opt/PhantomBot/dbbackup:/phantombot/dbbackup"
- "/opt/PhantomBot/logs:/phantombot/logs"
- 6667
- 25001-25005
- /phantombot/config
- /phantombot/dbbackup
- /phantombot/logs