We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55f447e commit c48a505Copy full SHA for c48a505
1 file changed
compose.webhook.yml
@@ -3,6 +3,20 @@
3
# docker compose -f docker-compose.yml -f /path/to/this/repo/compose.webhook.yml up -d
4
5
services:
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
20
webhook:
21
image: "ghcr.io/hotosm/central-webhook:0.2.0"
22
environment:
@@ -15,7 +29,6 @@ services:
29
depends_on:
30
postgres14:
31
condition: service_started
32
33
+ condition: service_started
34
restart: always
-
- postgres14:
- image: "ghcr.io/hotosm/postgres:14-http"
0 commit comments