File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change 33# docker compose -f docker-compose.yml -f /path/to/this/repo/compose.webhook.yml up -d
44
55services :
6+ # Add a healthcheck to the Central API service
7+ service :
8+ healthcheck :
9+ test : nc -z localhost 8383 || exit 1
10+ start_period : 15s
11+ interval : 10s
12+ timeout : 5s
13+ retries : 10
14+
15+ # Override the image used to contain the `pgsql-http` extension
16+ postgres14 :
17+ image : " ghcr.io/hotosm/postgres:14-http"
18+
19+ # The main webhook service
620 webhook :
721 image : " ghcr.io/hotosm/central-webhook:0.2.0"
822 environment :
@@ -15,7 +29,6 @@ services:
1529 depends_on :
1630 postgres14 :
1731 condition : service_started
32+ service :
33+ condition : service_started
1834 restart : always
19-
20- postgres14 :
21- image : " ghcr.io/hotosm/postgres:14-http"
You can’t perform that action at this time.
0 commit comments