Skip to content

Fix interpolation priorities#756

Merged
glours merged 1 commit intocompose-spec:mainfrom
ndeloof:interpolation_priorities
Mar 31, 2025
Merged

Fix interpolation priorities#756
glours merged 1 commit intocompose-spec:mainfrom
ndeloof:interpolation_priorities

Conversation

@ndeloof
Copy link
Collaborator

@ndeloof ndeloof commented Mar 25, 2025

resolving service's environment, service.environment has precedence over service.env_file

doing interpolation:

added a test to cover those combinations

closes docker/compose#12655

@ndeloof ndeloof force-pushed the interpolation_priorities branch from a68a129 to 1b2a16c Compare March 25, 2025 10:55
@ndeloof ndeloof requested a review from glours March 25, 2025 11:15
@glours glours enabled auto-merge (rebase) March 31, 2025 13:39
Signed-off-by: Nicolas De Loof <[email protected]>
@glours glours force-pushed the interpolation_priorities branch from 1b2a16c to b79bce3 Compare March 31, 2025 13:39
@glours glours merged commit b35ee99 into compose-spec:main Mar 31, 2025
8 checks passed
@ndeloof ndeloof deleted the interpolation_priorities branch April 30, 2025 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Interpolated environment variables are not overridden

2 participants