fix(music): add lavasrc-patcher sidecar for auto-applying runtime config
LavaSrc plugin config (preferPartnerApi, customTokenEndpoint, spDc) doesn't bind from YAML in Lavalink 4. Added a one-shot sidecar container that applies the config via PATCH endpoint after Lavalink becomes healthy. Also cleaned up DEBUG logging.
This commit is contained in:
parent
af88cea301
commit
affdb684b9
3 changed files with 31 additions and 0 deletions
|
|
@ -31,6 +31,16 @@ services:
|
|||
retries: 3
|
||||
start_period: 20s
|
||||
|
||||
lavasrc-patcher:
|
||||
build:
|
||||
context: ./lavalink
|
||||
dockerfile: Dockerfile.config-patcher
|
||||
container_name: lavasrc-patcher
|
||||
depends_on:
|
||||
lavalink:
|
||||
condition: service_healthy
|
||||
restart: "no"
|
||||
|
||||
bot:
|
||||
build: .
|
||||
container_name: loki-bot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue