feat: update Caddy configuration for hoarder service and add new services management tasks
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
name: immich
|
||||
services:
|
||||
server:
|
||||
immich:
|
||||
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
||||
volumes:
|
||||
- {{ immich_data_dir }}:/usr/src/app/upload
|
||||
|
||||
@@ -29,6 +29,10 @@
|
||||
mode: "0644"
|
||||
register: immich_compose
|
||||
|
||||
- name: Stop Immich service
|
||||
ansible.builtin.command: docker compose -f "{{ immich_service_dir }}/docker-compose.yml" down --remove-orphans
|
||||
when: immich_compose.changed
|
||||
|
||||
- name: Start Immich service
|
||||
ansible.builtin.command: docker compose -f "{{ immich_service_dir }}/docker-compose.yml" up -d
|
||||
when: immich_compose.changed
|
||||
|
||||
Reference in New Issue
Block a user