chore: update container image
All checks were successful
Deploy / Prepare Build (push) Successful in 24m50s
All checks were successful
Deploy / Prepare Build (push) Successful in 24m50s
This commit is contained in:
@@ -32,17 +32,10 @@
|
||||
group: root # GID Traefik runs as
|
||||
mode: "0600"
|
||||
|
||||
- name: Pull docker image
|
||||
community.docker.docker_image:
|
||||
name: traefik
|
||||
tag: v3.5
|
||||
source: pull
|
||||
register: docker_image
|
||||
|
||||
- name: Create traefik Container
|
||||
docker_container:
|
||||
name: traefik
|
||||
image: "{{ docker_image.image.RepoTags[0] }}"
|
||||
image: traefik:v3.5
|
||||
restart_policy: unless-stopped
|
||||
networks:
|
||||
- name: "proxy"
|
||||
@@ -77,5 +70,6 @@
|
||||
traefik.http.routers.traefik-secure.tls.domains[1].main: "comprofix.xyz"
|
||||
traefik.http.routers.traefik-secure.tls.domains[1].sans: "*.comprofix.xyz"
|
||||
traefik.http.routers.traefik-secure.service: "api@internal"
|
||||
when: docker_image.changed
|
||||
register: container_traefik
|
||||
pull: true
|
||||
recreate: true
|
||||
|
Reference in New Issue
Block a user