Multiple docker stacks or single one? #212
DennisGaida
started this conversation in
Ideas
Replies: 1 comment
-
I love the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently everything is in one docker stack per device (https://github.com/htpcBeginner/docker-traefik/blob/master/docker-compose-t2.yml). I personally think that it is a bit unreadable having everything in one file.
Wouldn't it be advisable to have multiple docker stacks that are interconnected with common networks? Something that is already achieved with the
profiles
that are commented out. There could be onecore
docker stack that sets up Traefik & socket proxy and multiple other stacks that "make sense" such as a VPN stack that sets up everything related to that VPN.What do you think? Keep everything in one file or make it more manageable with multiple files? Compete deployment would be easy since you can specify multiple compose files with
-f
. Another option would be to make use ofextends
(https://docs.docker.com/compose/extends/)Beta Was this translation helpful? Give feedback.
All reactions