fix(docker): add restart policy for postgres

This commit is contained in:
dicedtomato 2022-03-26 20:37:02 +00:00 committed by GitHub
parent 66a8e3bb79
commit b26fef3ad4
3 changed files with 12 additions and 9 deletions

View file

@ -2,6 +2,7 @@ version: '3'
services:
postgres:
image: postgres
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres

View file

@ -2,6 +2,7 @@ version: '3'
services:
postgres:
image: postgres
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres

View file

@ -2,6 +2,7 @@ version: '3'
services:
postgres:
image: postgres
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
@ -18,7 +19,7 @@ services:
image: ghcr.io/diced/zipline/zipline:trunk
ports:
- '3000:3000'
restart: unless-stopped
restart: always
environment:
- SECURE=false
- SECRET=changethis