Replies: 1 comment 1 reply
-
Does this work locally? Seems like the indentation for |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Ask a Question!
Hi,
I am using the stacks feature to deploy based on a git repository.
I wish to add labels based on a label file (or the UI as an alternative) as I use the same compose files in different environments (configured with env substitution).
If I were to use the env substiution, I would not be able to define labels that easily, because every label (that could possibly be set) would be required to be set in the env file.
Is there any way to achieve this?
Docker compose should support this feature (see here)
But if I specify the label_file property I get the following error on update/deployment:
Additional property label_file is not allowed
Sample:
and the label file is created and accessible under the $ADGUARD_CONFIG/app.labels path.
e.g.
System info:
Docker Engine v28.3.2
Docker Compose v2.38.2
Portainer v2.27.9 (LTS)
Beta Was this translation helpful? Give feedback.
All reactions