From 81e6e04429a0895da07f2e6fc6d1749283cfe6c2 Mon Sep 17 00:00:00 2001 From: Francesco Antognazza Date: Tue, 7 Feb 2023 14:04:44 +0100 Subject: [PATCH] Update portainer container configuration --- containers/portainer/tasks.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/containers/portainer/tasks.yml b/containers/portainer/tasks.yml index 40a0651..7f448c5 100644 --- a/containers/portainer/tasks.yml +++ b/containers/portainer/tasks.yml @@ -13,7 +13,7 @@ become_user: containers become: true containers.podman.podman_image: - name: docker.io/portainer/portainer-ee:latest + name: docker.io/portainer/portainer-ce:latest - name: Create traefik-portainer network containers.podman.podman_network: @@ -35,7 +35,7 @@ become: true containers.podman.podman_container: name: portainer - image: docker.io/portainer/portainer-ee:latest + image: docker.io/portainer/portainer-ce:latest state: present security_opt: - label=type:container_runtime_t @@ -52,6 +52,8 @@ traefik.http.routers.portainer.tls: "true" traefik.http.routers.portainer.tls.certresolver: "wildcard" traefik.http.routers.portainer.service: "portainer" + traefik.http.routers.portainer.middlewares: "portainer-prefixstrip@docker" + traefik.http.middlewares.portainer-prefixstrip.stripprefix.prefixes: "/portainer" traefik.http.services.portainer.loadbalancer.server.port: "9000" traefik.docker.network: "traefik-portainer" generate_systemd: