TFAI / deploy /docker-compose.yml
ZyphrZero
Update docker-compose.yml
ed184b6
Raw
History Blame
670 Bytes
version: '3.8'
services:
api-server:
build:
context: ..
dockerfile: deploy/Dockerfile
container_name: z-ai-api-server
ports:
- "8080:8080"
environment:
- DEBUG_MODE=false
# Auth Configuration
- AUTH_TOKEN=sk-your-api-key
# Server Configuration
- DEBUG_LOGGING=true
# Feature Configuration
- THINKING_PROCESSING=think
- ANONYMOUS_MODE=true
- TOOL_SUPPORT=true
- SCAN_LIMIT=200000
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/v1/models"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s