A stack version of kyb3r/modmail with dependencies.
Very WIP
First, make a bot for the application per the instructions on the Main Modmail Repo
Then clone locally, run git submodule update --init --recursive
and create .env
with the following contents:
MONGO_INITDB_ROOT_USERNAME=root # Username used to auth
MONGO_INITDB_ROOT_PASSWORD=yourpassword # Password used to auth
TOKEN= #your discord bot token
DATABASE_TYPE=mongodb # Only mongodb avaliable, but we specify it anyway
GUILD_ID= #Your Server ID
OWNERS= #Your User ID
LOG_URL= # The External url of logviewer
CONNECTION_URI=mongodb://Username:MyPassword@mongodb/ # per URI, replace username and mypassword with connection details to the db. Can also replace with an external db
By default logviewer is accessible at 127.0.0.1:8000, you probably want to put this behind a reverse proxy like caddy
Then run docker-compose up -d
to bring it up, then continue past step 5.11 of the Main Guide
# Pull the repo w/ the latest version of submodules
$ git pull --recurse-submodules
# Update the stack
$ docker-compose up -d --build