1
0

restart postgres if it fails

This commit is contained in:
nicolas.dorier
2018-01-17 22:36:59 +09:00
parent 949663a04a
commit 235c50d0f0
3 changed files with 3 additions and 0 deletions

View File

@@ -119,6 +119,7 @@ services:
- "bitcoin_datadir:/data"
postgres:
restart: always
image: postgres:9.6.5
volumes:
- "postgres_datadir:/var/lib/postgresql/data"

View File

@@ -113,6 +113,7 @@ services:
- "bitcoin_datadir:/data"
postgres:
restart: always
image: postgres:9.6.5
volumes:
- "postgres_datadir:/var/lib/postgresql/data"

View File

@@ -113,6 +113,7 @@ services:
- "bitcoin_datadir:/data"
postgres:
restart: always
image: postgres:9.6.5
volumes:
- "postgres_datadir:/var/lib/postgresql/data"