Compare commits

...

2 Commits

Author SHA1 Message Date
BBaoVanC cc41042fb0 Add postgres health check 2021-08-20 15:41:33 -05:00
BBaoVanC 8d46b8a152 Change indent width to 2 spaces 2021-08-20 15:39:36 -05:00
1 changed files with 48 additions and 43 deletions

View File

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