From 868acbc08f4506a4d4c4b5c9edb9937a7aac2593 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Mon, 13 Dec 2021 16:38:17 +0100 Subject: [PATCH] Made Portainer network attachable --- roles/portainer-deploy/templates/portainer-stack.yml.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/portainer-deploy/templates/portainer-stack.yml.j2 b/roles/portainer-deploy/templates/portainer-stack.yml.j2 index ce34d4e..411d3d9 100644 --- a/roles/portainer-deploy/templates/portainer-stack.yml.j2 +++ b/roles/portainer-deploy/templates/portainer-stack.yml.j2 @@ -1,5 +1,5 @@ # vim: ft=yaml -version: '3' +version: '3.2' services: app: @@ -42,6 +42,9 @@ services: - '/var/lib/docker/volumes:/var/lib/docker/volumes' networks: + default: + driver: overlay + attachable: true public: external: true