Make sure to always restart membersystem if it goes down.

This commit is contained in:
Víðir Valberg Guðmundsson 2022-11-22 22:39:34 +01:00
parent 14d97ee7a6
commit 394e158c51
1 changed files with 2 additions and 1 deletions

View File

@ -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: