fix(docker): Update environment variables and improve connection handling for Lavalink
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
server:
|
||||
port: 2333
|
||||
address: 0.0.0.0
|
||||
password: ${LAVALINK_PASSWORD:changeme} # Uses env var or defaults to 'changeme'
|
||||
password: ${LAVALINK_SERVER_PASSWORD:testing-lavalink-dont-touch} # Changed to use LAVALINK_SERVER_PASSWORD env var
|
||||
|
||||
logging:
|
||||
level:
|
||||
@@ -22,4 +22,10 @@ lavalink:
|
||||
bufferDurationMs: 400
|
||||
frameBufferDurationMs: 5000
|
||||
gc-warnings: true
|
||||
plugins: []
|
||||
plugins: []
|
||||
|
||||
# Add specific IPs allowed to connect (your bot container)
|
||||
# Set as 0.0.0.0/0 to allow connections from anywhere (not recommended for production)
|
||||
# This is important for Docker environments
|
||||
server.ip-rotation: false
|
||||
server.ip-blocks: ["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "127.0.0.1", "0.0.0.0/0"]
|
||||
Reference in New Issue
Block a user