#+TITLE: pubobot docker
about a docker container for [[https://gitlab.com/mittermichal/PUBobot-discord/-/tree/master][pubobot]]
quickstart
#+begin_src sh
docker run -it -d --name pubobot -p 5000:5000
-e IPC_SECRET="change me" -e WEB_URL="https://change.me:5000"
-e DISCORD_TOKEN="token"
-v $(pwd)/database.sqlite3:/home/pubobot/pubobot/database.sqlite3
-v $(pwd)/state.json:/home/pubobot/pubobot/state.json
--restart=always
sydz/pubobot:latest
#+end_src
variables
** IPC_SECRET
default: 5i2jd93j5la9
it's highly recommended you change this
** DISCORD_TOKEN
default: ""
you must set a discord token
** COMMANDS_URL
default: "https://gitlab.com/pubobot-discord/PUBobot-discord/-/blob/master/commands.md"
the link to available commands for the bot
** WEB_URL
default: "http://change.me"
set your external url, this probably needs to be valid for OATH
Content type
Image
Digest
Size
113.6 MB
Last updated
almost 5 years ago
docker pull sydz/pubobot