-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (29 loc) · 808 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (29 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: '3.8'
services:
nginx-webhook-proxy:
image: nginx:alpine
container_name: webhook_proxy
restart: unless-stopped
ports:
- "${WEBHOOK_PROXY_PORT:-8080}:80"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./nginx/conf.d:/etc/nginx/conf.d:ro
- ./nginx/ssl:/etc/nginx/ssl:ro
- ./logs:/var/log/nginx
environment:
- OPENCLAW_HOST=${OPENCLAW_HOST:-openclaw}
- OPENCLAW_PORT=${OPENCLAW_PORT:-8080}
- NGINX_ENTRYPOINT_QUIET_LOGS=1
networks:
- webhook-network
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
networks:
webhook-network:
driver: bridge
external: false