fix(docker-compose): Update healthcheck for Lavalink service to use correct endpoint and reduce interval
This commit is contained in:
parent
74cac2bfbb
commit
30b5b23868
@ -13,11 +13,12 @@ services:
|
||||
- ./application.yml:/opt/Lavalink/application.yml:ro,Z
|
||||
# Add healthcheck to verify Lavalink is ready
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:2333/v4/info"]
|
||||
interval: 10s
|
||||
test: >
|
||||
curl -H "Authorization: ${LAVALINK_PASSWORD}" -f http://localhost:2333/versionkk
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 15s # Give Lavalink time to start up initially
|
||||
retries: 3
|
||||
start_period: 5s # Give Lavalink time to start up initially
|
||||
|
||||
bot:
|
||||
build: .
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user