-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (42 loc) · 1.36 KB
/
Copy pathdocker-compose.yml
File metadata and controls
44 lines (42 loc) · 1.36 KB
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
35
36
37
38
39
40
41
42
43
44
# =============================================================================
# Web Agent Bridge — Docker Compose (Standard)
# Usage: docker compose up -d
# License: MIT (Open Source)
# =============================================================================
services:
web-agent-bridge:
image: ghcr.io/abokenan444/web-agent-bridge:latest
# Or build locally:
# build: .
container_name: wab
restart: unless-stopped
ports:
- "${WAB_PORT:-3000}:3000"
environment:
PORT: "3000"
NODE_ENV: production
JWT_SECRET: "${JWT_SECRET:?JWT_SECRET is required — run: openssl rand -base64 48}"
JWT_SECRET_ADMIN: "${JWT_SECRET_ADMIN:?JWT_SECRET_ADMIN is required — run: openssl rand -base64 48}"
ALLOWED_ORIGINS: "${ALLOWED_ORIGINS:-}"
STRIPE_SECRET_KEY: "${STRIPE_SECRET_KEY:-}"
STRIPE_WEBHOOK_SECRET: "${STRIPE_WEBHOOK_SECRET:-}"
SMTP_HOST: "${SMTP_HOST:-}"
SMTP_PORT: "${SMTP_PORT:-587}"
SMTP_USER: "${SMTP_USER:-}"
SMTP_PASS: "${SMTP_PASS:-}"
volumes:
- wab-data:/data
healthcheck:
test: ["CMD", "curl", "-fs", "http://localhost:3000/api/wab/ping"]
interval: 15s
timeout: 5s
retries: 3
start_period: 20s
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
volumes:
wab-data:
driver: local