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: