diff --git a/docker-compose.yml b/docker-compose.yml index 4104c22..12c48ad 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: .