-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
56 lines (50 loc) · 2.12 KB
/
Copy path.env.example
File metadata and controls
56 lines (50 loc) · 2.12 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
48
49
50
51
52
53
54
55
56
# Serverless Proxy - Environment Configuration
# Copy this file to .env and fill in your values
# DO NOT commit .env to version control!
# Server Ports (can also be configured via admin UI Settings tab)
API_PORT=8002 # OpenAI-compatible API endpoint (e.g., /v1/chat/completions)
FLASK_PORT=5001 # Admin dashboard/UI config page (e.g., /proxy-dashboard)
# Timeout (seconds)
TIMEOUT=300
# Authentication (optional)
# Set to false to disable admin UI authentication (for fresh installs without ai-menu-system)
AUTH_ENABLED=false
AIMENU_URL=http://host.docker.internal:5000
# AI Queue Master Integration (optional)
# Route requests through AI Queue Master for priority queuing and request tracking
USE_AI_QUEUE=false
AI_QUEUE_URL=http://host.docker.internal:8102
AI_QUEUE_API_KEY=your_queue_api_key
AI_QUEUE_PRIORITY=NORMAL # HIGH, NORMAL, or LOW
AI_QUEUE_SOURCE=serverless-proxy
# =============================================================================
# Caddy Reverse Proxy (optional) - Sample configuration if using Caddy
# =============================================================================
# If using Caddy as a reverse proxy, uncomment and adjust:
#
# # API on port 8002
# @proxy-api path /v1/* /api/*
# handle @proxy-api {
# reverse_proxy localhost:8002
# }
#
# # Admin UI on port 5001
# @proxy-admin path /api/admin/* /proxy-dashboard /endpoints* /virtual-models*
# handle @proxy-admin {
# reverse_proxy localhost:5001
# }
# =============================================================================
# AI Queue Master (optional) - Sample configuration if AI Queue is installed
# =============================================================================
# If using AI Queue Master for priority queuing and history tracking:
# 1. Set USE_AI_QUEUE=true
# 2. Set AI_QUEUE_URL to your AI Queue Master endpoint
# 3. Set AI_QUEUE_API_KEY with your queue API key
# 4. AI_QUEUE_PRIORITY can be: HIGH, NORMAL, or LOW
#
# # Example configuration:
# USE_AI_QUEUE=true
# AI_QUEUE_URL=http://host.docker.internal:8102
# AI_QUEUE_API_KEY=your_queue_api_key
# AI_QUEUE_PRIORITY=NORMAL
# AI_QUEUE_SOURCE=serverless-proxy