Move towards docker-compose.override.yml files #18

Open
opened 2019-10-01 08:46:45 +00:00 by david · 2 comments
david commented 2019-10-01 08:46:45 +00:00 (Migrated from dev.cryptec.at)

Composition of separate files will help with properly keeping track of local changes to the setup.

Composition of separate files will help with properly keeping track of local changes to the setup.
david commented 2019-10-01 08:46:57 +00:00 (Migrated from dev.cryptec.at)

@root Your thoughts on this?

@root Your thoughts on this?
root commented 2020-01-31 15:26:40 +00:00 (Migrated from dev.cryptec.at)

Yes, I'd consider separating template logic as helpful. One could think about docker app for managing the configuration.
I'm not a huge fan of custom setups that work differently from 'normal docker' (Looking at you discourse). Besides separating the template, I propose using a scriptable interface between the templates and the configuration e.g. for assembling common strings or checking the (semantic) validity of the config file. Using the python-like language starlark could be an idea.

Yes, I'd consider separating template logic as helpful. One could think about [docker app](https://github.com/docker/app) for managing the configuration. I'm not a huge fan of custom setups that work differently from 'normal docker' (Looking at you discourse). Besides separating the template, I propose using a scriptable interface between the templates and the configuration e.g. for assembling common strings or checking the (semantic) validity of the config file. Using the python-like language [starlark](https://github.com/google/starlark-go/) could be an idea.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
infrastructure/mailstack#18
No description provided.