-
-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Lines 7 to 10 in 8a316ea
| volumes: | |
| # If you followed the guide on our readme, these paths work out of the box | |
| - ./config.yaml:/app/config.yaml | |
| - ./certs:/app/certs |
The current suggested docker compose file doesn't have a persistent mapping for the state.yaml file. Since the state.yaml has the entertainment groups (among other Hue-specific bits) included in it, if the container is recreated that persistent information will be lost.
I've addressed this by copying out the state.yaml from a running bifrost container and then mounting it just like the config.yaml. There may be a chicken-and-egg problem for new installs when the state.yaml does not exist, but I think touching the state.yaml before container creation may fix that.
I believe there are other issues about moving the binary into a separate location than the config, which would allow mounting the subdirectory as a persistent volume, solving this as well.
Thanks for the project! ❤️