-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
21 lines (21 loc) · 1015 Bytes
/
docker-compose.yml
File metadata and controls
21 lines (21 loc) · 1015 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: "3"
services:
app:
image: phlox:latest
container_name: phlox
ports:
- "5000:5000"
environment:
- DB_ENCRYPTION_KEY=${DB_ENCRYPTION_KEY}
- ALLOWED_ORIGINS=* # Comma-separated list of allowed CORS origins (e.g., https://phlox.example.com)
- TZ= # Replace with your timezone
- LLM_EXTRA_BODY= # Optional: JSON string for extra_body params (e.g., '{"chat_template_kwargs": {"thinking": true}}'); does not apply to streaming requests
# Proxy auth (for reverse proxy deployments like Traefik, Caddy, Nginx)
# - PROXY_AUTH_ENABLED=true # Disabled by default
# - PROXY_AUTH_USER_HEADER= # Header containing authenticated username
# - PROXY_AUTH_ALLOWED_USERS= # Comma-separated list of allowed users (empty = any authenticated user)
# Rate limiting
# - RATE_LIMIT_ENABLED=true # Disabled by default
volumes:
- ./data:/usr/src/app/data # Only for persistent data
- ./logs:/usr/src/app/logs # Optional: Persist logs