Actualiser containers-update.yml

This commit is contained in:
Pierre Guillod 2024-01-20 12:48:55 +01:00
parent 50bb305cf9
commit fb0ca96415

View file

@ -1,50 +1,70 @@
- hosts: containers - hosts: stateful
tasks: tasks:
- name: Upgrade TeamMapper
shell:
cmd: docker compose --file teammapper-compose.yml pull && docker compose --file teammapper-compose.yml up --force-recreate --build -d
chdir: /home/pierre
- name: Upgrade Vaultwarden - name: Upgrade Vaultwarden
shell: shell:
cmd: docker compose --file vaultwarden-compose.yml pull && docker compose --file vaultwarden-compose.yml up -d cmd: docker compose --file vaultwarden-compose.yml pull && docker compose --file vaultwarden-compose.yml up --force-recreate --build -d
chdir: /home/pierre chdir: /home/pierre
- name: Upgrade Traefik - name: Upgrade Traefik
shell: shell:
cmd: docker compose --file traefik-compose.yml pull && docker compose --file traefik-compose.yml up -d cmd: docker compose --file traefik-compose.yml pull && docker compose --file traefik-compose.yml up --force-recreate --build -d
chdir: /home/pierre chdir: /home/pierre
- name: Upgrade Pi-hole - name: Upgrade Pi-hole
shell: shell:
cmd: docker compose --file pihole-compose.yml pull && docker compose --file pihole-compose.yml up -d cmd: docker compose --file pihole-compose.yml pull && docker compose --file pihole-compose.yml up --force-recreate --build -d
chdir: /home/pierre chdir: /home/pierre
- name: Upgrade Forgejo - name: Upgrade Forgejo
shell: shell:
cmd: docker compose --file forgejo-compose.yml pull && docker compose --file forgejo-compose.yml up -d cmd: docker compose --file forgejo-compose.yml pull && docker compose --file forgejo-compose.yml up --force-recreate --build -d
chdir: /home/pierre chdir: /home/pierre
- name: Upgrade Conduit - name: Upgrade Conduit
shell: shell:
cmd: docker compose --file conduit-compose.yml pull && docker compose --file conduit-compose.yml up -d cmd: docker compose --file conduit-compose.yml pull && docker compose --file conduit-compose.yml up --force-recreate --build -d
chdir: /home/pierre
- hosts: statelessops
tasks:
- name: Upgrade Woodpecker CI
shell:
cmd: docker compose --file woodpecker-compose.yml pull && docker compose --file woodpecker-compose.yml up -d
chdir: /home/pierre chdir: /home/pierre
- name: Upgrade Nocodb - name: Upgrade Nocodb
shell: shell:
cmd: docker compose --file nocodb-compose.yml pull && docker compose --file nocodb-compose.yml up -d cmd: docker compose --file nocodb-compose.yml pull && docker compose --file nocodb-compose.yml up --force-recreate --build -d
chdir: /home/pierre
- name: Prune docker images
shell:
cmd: docker image prune -f
chdir: /home/pierre
- hosts: stateless
tasks:
- name: Upgrade Woodpecker CI
shell:
cmd: docker compose --file woodpecker-compose.yml pull && docker compose --file woodpecker-compose.yml up --force-recreate --build -d
chdir: /home/pierre chdir: /home/pierre
- name: Upgrade Leantime - name: Upgrade Leantime
shell: shell:
cmd: docker compose --file leantime-compose.yml pull && docker compose --file leantime-compose.yml up -d cmd: docker compose --file leantime-compose.yml pull && docker compose --file leantime-compose.yml up --force-recreate --build -d
chdir: /home/pierre chdir: /home/pierre
- name: Upgrade DLNextcloud - name: Upgrade DLNextcloud
shell: shell:
cmd: docker compose --file dlnextcloud-compose.yml down && docker compose --file dlnextcloud-compose.yml build && docker compose --file dlnextcloud-compose.yml up -d cmd: docker compose --file dlnextcloud-compose.yml down && docker compose --file dlnextcloud-compose.yml build && docker compose --file dlnextcloud-compose.yml up --force-recreate --build -d
chdir: /home/pierre
- name: Upgrade n8n
shell:
cmd: docker compose --file n8n-compose.yml pull && docker compose --file n8n-compose.yml up --force-recreate --build -d
chdir: /home/pierre
- name: Prune docker images
shell:
cmd: docker image prune -f
chdir: /home/pierre chdir: /home/pierre