You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.
gettext allows me to use envsubst which is nice for configuring rendering docker-compose.yml with external secrets, networks etc as their names better to be stored as CI variables rather as hardcoded value in docker-compose.yml.
The text was updated successfully, but these errors were encountered:
In any case, there are many different tools that would work for each individual use case, so I would prefer to keep this as simple as possible. If you find yourself needing some other tools frequently, I think it would be better to create a new re-usable image that works best for you.
Fair enough )
Actually, I'm using env vars lately. The reason behind gettext was to make some attributes changeable (like network name, volume name, secret name). But further digging into Docker Compose documentation and newer versions revealed that all of them can have external name specified with env var while keeping internal (in context of single docker compose) name constant.
gettext
allows me to useenvsubst
which is nice for configuring renderingdocker-compose.yml
with external secrets, networks etc as their names better to be stored as CI variables rather as hardcoded value indocker-compose.yml
.The text was updated successfully, but these errors were encountered: