mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-11-02 10:52:22 +00:00
Keep the configuration of Glance, Homer and Prometheus across updates
Glance and Homer write their starter configuration only when it is missing, so an update does not replace the one the user edited. Prometheus keeps /etc/prometheus in a volume of its own, which starts with the configuration of the image and can be a host directory.
This commit is contained in:
@@ -379,7 +379,8 @@
|
||||
"container_path": "/www/assets/config.yml",
|
||||
"mode": "0644",
|
||||
"owner": "mapped-root",
|
||||
"content": "---\ntitle: \"My Home Lab\"\nsubtitle: \"Self-hosted services\"\nheader: true\ncolumns: \"3\"\ndefaults:\n layout: columns\n colorTheme: auto\nservices:\n - name: \"Getting started\"\n icon: \"fas fa-book\"\n items:\n - name: \"Homer documentation\"\n icon: \"fas fa-book\"\n url: \"https://github.com/bastienwirtz/homer\"\n"
|
||||
"content": "---\ntitle: \"My Home Lab\"\nsubtitle: \"Self-hosted services\"\nheader: true\ncolumns: \"3\"\ndefaults:\n layout: columns\n colorTheme: auto\nservices:\n - name: \"Getting started\"\n icon: \"fas fa-book\"\n items:\n - name: \"Homer documentation\"\n icon: \"fas fa-book\"\n url: \"https://github.com/bastienwirtz/homer\"\n",
|
||||
"only_if_missing": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user