forked from data.coop/ansible
Make sure to always restart membersystem if it goes down.
This commit is contained in:
parent
14d97ee7a6
commit
394e158c51
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue