-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (33 loc) · 924 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (33 loc) · 924 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
32
33
34
services:
wuwa-api:
image: ghcr.io/projektcode/wuwa-api:main
container_name: wuwa-api
restart: unless-stopped
environment:
NODE_ENV: production
HOST: 0.0.0.0
PORT: 3000
# Rate limits (public defaults)
RATE_LIMIT_WINDOW: "1 minute"
RATE_LIMIT_LIST_MAX: 15
RATE_LIMIT_DETAIL_MAX: 60
RATE_LIMIT_IMAGE_MAX: 60
RATE_LIMIT_DOCS_MAX: 120
# Demo should stay off in production
ENABLE_DEMO: "false"
volumes:
# Optional: override baked-in dataset/images without rebuilding.
- ./assets:/app/assets:ro
expose:
- "3000"
networks:
- nginx_proxy
healthcheck:
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:3000/healthz').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
interval: 30s
timeout: 3s
retries: 3
networks:
nginx_proxy:
external: true
name: nginx_proxy