-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
54 lines (41 loc) · 1.58 KB
/
.env.example
File metadata and controls
54 lines (41 loc) · 1.58 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
# OpenRouter Watcher (ORW) Configuration
# Copy this file to .env and adjust values as needed
# Usage: deno task build && deno task serve
# Server Configuration (deno serve options)
# PORT=8000
# HOSTNAME=0.0.0.0
# Data Paths
ORW_DATA_PATH=./data
ORW_DB_PATH=./data/orw.db
ORW_LOG_PATH=./data/orw.log
ORW_BACKUP_PATH=./data/backup
# Watcher Configuration
# Set to "true" to disable the background watcher
# ORW_DISABLE_WATCHER=false
# Database seeding (set to "false" to skip initial seeding)
# ORW_SEED_DATABASE=true
#
# Optional settings
#
# Path to installation diretory (for service/start scripts)
# ORW_HOME=/some/path
# Don't query the acutal API during development, use a fixed model list instead if present
# Generate a snapshot with: curl https://openrouter.ai/api/v1/models > models.json
# ORW_FIXED_MODEL_FILE=data/models.json
# Public URL for RSS feeds and other absolute URL references
# Override this if e.g. behind a TLS proxy
# ORW_PUBLIC_URL=https://your-domain.com/
# Repository URL for source code links (GitHub icon, RSS docs field, etc.)
# ORW_REPOSITORY_URL=https://github.com/your-username/your-repo
# Content security policy, see https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
# ORW_CSP="default-src 'self' http://localhost:3000; style-src 'self' http://localhost:3000 'unsafe-inline'"
# Use a policy like this for production
# ORW_CSP="default-src 'self' https://subdomain.example.com; style-src 'self' https://subdomain.example.com 'unsafe-inline'"
#
# Defaults
#
# ORW_DB_PATH=data/orw.db
# ORW_LOG_PATH=data/orw.log
# ORW_PORT=0
# ORW_HOSTNAME=0.0.0.0
# ORW_CLIENT_PATH=dist