We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e66dfff commit 7d43d72Copy full SHA for 7d43d72
2 files changed
Dockerfile
@@ -11,6 +11,7 @@ WORKDIR /webhook-server
11
12
# Install library
13
RUN pip3 install whatsapp-api-webhook-server-python
14
+RUN apk add curl
15
# Download example
16
RUN wget https://raw.githubusercontent.com/green-api/whatsapp-api-webhook-server-python/master/examples/echo.py
17
# Start server
docker-compose.yml
@@ -14,6 +14,11 @@ services:
image: greenapi/whatsapp-api-webhook-server-python:latest
ports:
- "8080:80"
+ healthcheck:
18
+ test: curl -sS http://127.0.0.1:80 || exit 1
19
+ interval: 5s
20
+ timeout: 10s
21
+ retries: 3
22
networks:
23
- "webhookserver-net"
24
logging:
0 commit comments