From 394e158c5157fc5621425f817119cab38532330a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Tue, 22 Nov 2022 22:39:34 +0100 Subject: [PATCH] Make sure to always restart membersystem if it goes down. --- roles/docker/tasks/services/membersystem.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/docker/tasks/services/membersystem.yml b/roles/docker/tasks/services/membersystem.yml index b214abb5..2d2a38d0 100644 --- a/roles/docker/tasks/services/membersystem.yml +++ b/roles/docker/tasks/services/membersystem.yml @@ -9,7 +9,7 @@ services: backend: image: docker.data.coop/member.data.coop:latest - restart: unless-stopped + restart: always user: $UID:$GID tty: true depends_on: @@ -38,6 +38,7 @@ postgres: image: postgres:13-alpine + restart: always volumes: - "{{ volume_root_folder }}/membersystem/postgres/data:/var/lib/postgresql/data" networks: