forked from Mirrowel/LLM-API-Key-Proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
30 lines (30 loc) · 1023 Bytes
/
docker-compose.dev.yml
File metadata and controls
30 lines (30 loc) · 1023 Bytes
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
services:
llm-proxy:
build:
context: .
dockerfile: Dockerfile
container_name: llm-api-proxy-dev
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
ports:
- "${PORT:-8000}:8000"
volumes:
# Mount .env files for configuration
- ./.env:/app/.env:ro
# Mount oauth_creds directory for OAuth credentials persistence
- ./oauth_creds:/app/oauth_creds
# Mount logs directory for persistent logging
- ./logs:/app/logs
# Mount key_usage.json for usage statistics persistence
- ./key_usage.json:/app/key_usage.json
# Optionally mount additional .env files (e.g., combined credential files)
# - ./antigravity_all_combined.env:/app/antigravity_all_combined.env:ro
environment:
# Skip OAuth interactive initialization in container (non-interactive)
- SKIP_OAUTH_INIT_CHECK=true
# Ensure Python output is not buffered
- PYTHONUNBUFFERED=1