Update portainer container configuration
This commit is contained in:
parent
61bed02f2f
commit
81e6e04429
@ -13,7 +13,7 @@
|
|||||||
become_user: containers
|
become_user: containers
|
||||||
become: true
|
become: true
|
||||||
containers.podman.podman_image:
|
containers.podman.podman_image:
|
||||||
name: docker.io/portainer/portainer-ee:latest
|
name: docker.io/portainer/portainer-ce:latest
|
||||||
|
|
||||||
- name: Create traefik-portainer network
|
- name: Create traefik-portainer network
|
||||||
containers.podman.podman_network:
|
containers.podman.podman_network:
|
||||||
@ -35,7 +35,7 @@
|
|||||||
become: true
|
become: true
|
||||||
containers.podman.podman_container:
|
containers.podman.podman_container:
|
||||||
name: portainer
|
name: portainer
|
||||||
image: docker.io/portainer/portainer-ee:latest
|
image: docker.io/portainer/portainer-ce:latest
|
||||||
state: present
|
state: present
|
||||||
security_opt:
|
security_opt:
|
||||||
- label=type:container_runtime_t
|
- label=type:container_runtime_t
|
||||||
@ -52,6 +52,8 @@
|
|||||||
traefik.http.routers.portainer.tls: "true"
|
traefik.http.routers.portainer.tls: "true"
|
||||||
traefik.http.routers.portainer.tls.certresolver: "wildcard"
|
traefik.http.routers.portainer.tls.certresolver: "wildcard"
|
||||||
traefik.http.routers.portainer.service: "portainer"
|
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.http.services.portainer.loadbalancer.server.port: "9000"
|
||||||
traefik.docker.network: "traefik-portainer"
|
traefik.docker.network: "traefik-portainer"
|
||||||
generate_systemd:
|
generate_systemd:
|
||||||
|
Loading…
Reference in New Issue
Block a user