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

View file

@ -9,7 +9,7 @@
services: services:
backend: backend:
image: docker.data.coop/member.data.coop:latest image: docker.data.coop/member.data.coop:latest
restart: unless-stopped restart: always
user: $UID:$GID user: $UID:$GID
tty: true tty: true
depends_on: depends_on:
@ -38,6 +38,7 @@
postgres: postgres:
image: postgres:13-alpine image: postgres:13-alpine
restart: always
volumes: volumes:
- "{{ volume_root_folder }}/membersystem/postgres/data:/var/lib/postgresql/data" - "{{ volume_root_folder }}/membersystem/postgres/data:/var/lib/postgresql/data"
networks: networks: