Compare commits

...

2 Commits

Author SHA1 Message Date
cc41042fb0 Add postgres health check 2021-08-20 15:41:33 -05:00
8d46b8a152 Change indent width to 2 spaces 2021-08-20 15:39:36 -05:00

View File

@ -9,6 +9,11 @@ services:
volumes: volumes:
- ./data/postgres:/var/lib/postgresql/data/ - ./data/postgres:/var/lib/postgresql/data/
restart: always restart: always
healthcheck:
test: pg_isready -U drone -d dronedb
interval: 10s
timeout: 5s
retries: 5
server: server:
image: drone/drone:latest image: drone/drone:latest