rixed / ramen

A stream processing language and compiler for small-scale monitoring
Other
14 stars 4 forks source link

Lost dashboard after upgrade (docker) #1439

Closed rixed closed 2 years ago

rixed commented 2 years ago

Due to renaming of the site in between restart of docker image while keeping configuration in an external volume, which is a common enough use case. Running dicker with --hostname solves the issue properly but it would be nice to transparently convert site names in the configuration in the simple cases where only one site is used (both in the configuration and in the service file, for security).

rixed commented 2 years ago

Renaming sites in keys is OK-ish, but would be quite error prone in values (workers, dashboards...). Instead, just emits a warning when the issue is detected.