blue-account-81612
07/14/2025, 12:22 PMtall-airline-16756
07/14/2025, 12:22 PMtall-airline-16756
07/14/2025, 12:23 PMdocker-compose.yml
should include a volume (for example, redis_data:/data
) mapped to the Redis container. This makes Redis retain its data—including SIP trunks and dispatch rules—across reboots and container restarts.
• Check Redis persistence configuration: Redis should have persistence enabled. By default, it uses snapshotting (RDB files), but for better durability, you can enable the Append Only File (AOF) option in Redis's configuration.
When these are set up, any SIP trunks and dispatch rules added through the LiveKit API or SIP service are automatically reloaded after you bring up your Docker Compose stack again, since they are restored from Redis’s persisted data. No manual reloading process is needed unless your Redis data was deleted or a misconfiguration caused loss of volume data.
If you are still encountering loss of configuration after confirming you are using persistent volumes, please provide details of your docker-compose.yml
and Redis setup so I can help further.
References:
Sources: pkg/service/redisstore_sip.go | docker-compose.yaml | SIP overview | LiveKit Docs