Skip to content

Commit

Permalink
chore: Update docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hmes98318 committed Jan 5, 2025
1 parent c93707c commit f0f5e66
Showing 1 changed file with 1 addition and 32 deletions.
33 changes: 1 addition & 32 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,8 @@ services:
environment:
TZ: "Asia/Taipei"
BOT_TOKEN: "your_token"

# OAUTH2 mode requires setting BOT_ADMIN, BOT_CLIENT_SECRET value
BOT_ADMIN: ""
BOT_CLIENT_SECRET: ""

BOT_NAME: "Music Disc"
BOT_PREFIX: "+"
BOT_PLAYING: "+help | music"
BOT_EMBEDS_COLOR: "#FFFFFF"
BOT_SLASH_COMMAND: true

DEFAULT_VOLUME: 50
MAX_VOLUME: 100

AUTO_LEAVE: true
AUTO_LEAVE_COOLDOWN: 5000
DISPLAY_VOICE_STATE: true

# Web dashboard settings
ENABLE_SITE: true
SITE_PORT: 33333
SITE_LOGIN_TYPE: "USER" # "OAUTH2" | "USER"
# USER mode settings
SITE_USERNAME: "admin"
SITE_PASSWORD: "password"
# OAUTH2 mode settings
SITE_OAUTH2_LINK: "" # Your OAuth2 authentication link
SITE_OAUTH2_REDIRECT_URI: "http://localhost:33333/login" # Redirect link after OAuth2 authentication is complete

# Local Lavalink node
ENABLE_LOCAL_NODE: false
LOCAL_NODE_AUTO_RESTART: true
volumes:
- ./config.js:/bot/config.js # Bot config
- ./logs:/bot/logs # Bot logs
- ./server:/bot/server # localnode configuration file
- ./nodelist.json:/bot/nodelist.json # Lavalink node list
Expand Down

0 comments on commit f0f5e66

Please sign in to comment.