portainer icon indicating copy to clipboard operation
portainer copied to clipboard

Add support for docker-compose profiles

Open tiehfood opened this issue 4 years ago • 3 comments

Any change to support the docker-compose profiles feature? https://docs.docker.com/compose/profiles/ Would be great as for now I need to split the docker-compose file into multiple files which works, but is not so clean as with the profiles feature.

tiehfood avatar Sep 30 '21 07:09 tiehfood

yes, I need this feature too , that would be great

eshirvana avatar Nov 15 '21 03:11 eshirvana

Same here, would be really nice.

bitwon avatar Jul 15 '22 09:07 bitwon

@eshirvana Greate to know, I'll try it next week. Maybe you can explain how to select the active profile when using Portainer with stacks. I didn't find anything in the docs.

bitwon avatar Jul 16 '22 11:07 bitwon

Add COMPOSE_PROFILES environment variable with its value as profile name. It works.

navilg avatar Oct 10 '22 13:10 navilg