-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.yaml
More file actions
52 lines (41 loc) · 1.53 KB
/
Copy pathconfig.yaml
File metadata and controls
52 lines (41 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
48
49
50
51
# =====================
# General Configuration
# =====================
# Path to a TLS Cert
certFile: "/path/to/cert/file.crt" # Path to SSL certificate
keyFile: "/path/to/key/file.key" # Path to SSL key
# Logging Level: debug, info, warn, error, dpanic, panic, fatal
logLevel: "debug"
# ===================
# Rotatorr Log Config
# ===================
logConfig:
logOutput: "stdout" # Options: stdout, file
logLevel: "debug" # Options: debug, info, warn, error, dpanic, panic, fatal
# Additional log rotation options
# filepath: "/var/log/service.log" # Optional: File path for log output
# filesize: 10485760 # Optional: Max log file size in bytes (10MB)
# fileCount: 10 # Optional: Max number of log files to keep
# ==================
# Listener Config
# ==================
# Define a list of interfaces that the Proxy listens on
listeners:
- interface: "0.0.0.0" # Listen on all available interfaces
port: "6001" # TCP port
# =================
# API Upstreams
# =================
# List of API Upstreams with their settings
upstreams:
Primary:
type: "azure" # API Type
model: "default" # Model name
url: "http://10.10.0.127:5001" # API URL
priority: 1 # Priority level (lower number = higher priority)
apiKey: "dummy" # Replace with actual API key
Secondary:
type: "openai" # API Type
model: "default" # Model name
priority: 2 # Priority level (lower number = higher priority)
apiKey: "dummy" # Replace with actual API key