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.tls.yml
More file actions
47 lines (47 loc) · 1.53 KB
/
docker-compose.tls.yml
File metadata and controls
47 lines (47 loc) · 1.53 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
services:
nginx-proxy-manager:
image: "jc21/nginx-proxy-manager:latest"
container_name: nginx-proxy-manager
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
ports:
- "80:80" # Public HTTP
- "443:443" # Public HTTPS
- "81:81" # Admin Web Interface
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
# This allows the proxy to talk to other containers using "host.docker.internal"
extra_hosts:
- "host.docker.internal:host-gateway"
llm-proxy:
image: ghcr.io/mirrowel/llm-api-key-proxy:latest
container_name: llm-api-proxy-tls
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 usage directory for usage statistics persistence
- ./usage:/app/usage
# 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