File size: 670 Bytes
f0cacfe df34ff2 ed184b6 df34ff2 f0cacfe e58bdeb f0cacfe df34ff2 | 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 | 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 |