diff --git a/.env.example b/.env.example index 9eceb4bf75..7e67f2856f 100644 --- a/.env.example +++ b/.env.example @@ -25,24 +25,6 @@ CONNECTION_URI=mongodb+srv://mongo.net # A github personal access token with the repo scope to access private repository and update the bot automatically # GITHUB_TOKEN=abcdef -# Client ID for your application, used by logviewer` -# OAUTH2_CLIENT_ID=12345 - -# Client Secret for your application, used by logviewer -# OAUTH2_CLIENT_SECRET=abcdef - -# The redirect URL for logviewer OAuth. You must also add this URL in your application's Redirects section -# OAUTH2_REDIRECT_URI=https://logviewer.example.com/callback - -# The host address logviewer will bind itself to. Defaults to 0.0.0.0 -# HOST=0.0.0.0 - -# The port logviewer plugin will listen to. Defaults to 8000 -# PORT=8000 - -# The number of logs to display per page on logviewer. Defaults to 25 -# LOGVIEWER_PAGINATION=25 - # Logging configurations # DISCORD_LOG_LEVEL=DEBUG # STREAM_LOG_FORMAT=plain/json diff --git a/docker-compose.yml b/docker-compose.yml index ff6ec3fa0f..1eb8ea6bd0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,16 +1,16 @@ -version: "3.7" services: bot: image: ghcr.io/raidensakura/modmail:stable container_name: modmail restart: always - env_file: - - .env environment: - CONNECTION_URI=mongodb://mongo + env_file: + - .env depends_on: - - mongo - mongo: + - db + + db: image: mongo container_name: mongodb restart: always