Support compose.override.yml files #415
17Halbe
started this conversation in
Feature Request
Replies: 1 comment
-
Maybe this could be done by adding override files in
Draft result (probably not working correct): If someone wants to work on this the changes are committed here: https://github.com/lohrbini/dockge/tree/feat/dockge-override-support This is just a "quick draft" can have a look at it after current PR |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🏷️ Feature Request Type
API
🔖 Feature description
Support display an editability of compose.override.yml files
✔️ Solution
Add a second compose.yml box below the current one to display a compose.override.yml. See Docker Docs: Compose.override.yml
Could probably accomplished by accordion styled "cards" dropdown of both files.
Bonus: Add a button next to the compose.yml box to create an override file.
❓ Alternatives
Option 1:
One could just output the compose compiled file and render the box uneditable/disabled. See: compose config
Option 2:
Display the merged file (see Option 1) and make only the override file editable, since this is the only file which should be edited in production anyway.
Option 3:
Display the override file instead of the compose file.
📝 Additional Context
It is becoming more and more common to ship compose.yml files in a package and overriding user specific needs in an override file.
I'm using this approach myself; but you may also take a look into mailcow, simfony, caddy-proxy etc.
Btw this might also be an option for Dockge, to distribute it's compose.yml file and only add an override for user specific settings. ;)
I am interested in providing a PR on this if you'd like..
Beta Was this translation helpful? Give feedback.
All reactions