refactor
This commit is contained in:
@@ -4,10 +4,14 @@ services:
|
||||
context: .
|
||||
container_name: creator
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- CLAUDE_CODE_OAUTH_TOKEN=${CLAUDE_CODE_OAUTH_TOKEN:-}
|
||||
- MINIMAX_API_KEY=${MINIMAX_API_KEY:-}
|
||||
- DEFAULT_PROVIDER=${DEFAULT_PROVIDER:-}
|
||||
# komplette .env durchreichen — 3 Einzel-Vars ließen ROLE_*/MAX_CONCURRENT_* etc.
|
||||
# still weg (Dev sourct die ganze .env, Prod bekam nur einen Teil)
|
||||
env_file: .env
|
||||
healthcheck:
|
||||
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/api/health', timeout=5)"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
networks:
|
||||
- web
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user