Skip to content

Commit

Permalink
Update docker compose and example env
Browse files Browse the repository at this point in the history
  • Loading branch information
raidensakura committed Jun 20, 2024
1 parent b173c0f commit 7eeb099
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 23 deletions.
18 changes: 0 additions & 18 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 7eeb099

Please sign in to comment.