-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy path.env.railway
More file actions
47 lines (40 loc) · 1.75 KB
/
.env.railway
File metadata and controls
47 lines (40 loc) · 1.75 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
# ===========================================
# Railway Production Configuration
# ===========================================
# Copy these to Railway dashboard → Variables tab
# DO NOT commit this file with real values!
# ===========================================
# REQUIRED: AI Provider Configuration
# ===========================================
LLM_PROVIDER=openai
LLM_API_KEY=sk-your-api-key-here
LLM_MODEL=gpt-4
# Choose your provider:
# - openai: GPT-4, GPT-3.5-turbo (https://platform.openai.com/api-keys)
# - anthropic: Claude 3.5 Sonnet (https://console.anthropic.com/)
# - gemini: Gemini Pro (https://aistudio.google.com/apikey)
# - deepseek: DeepSeek (https://platform.deepseek.com/api_keys)
# ===========================================
# Server Configuration (Railway Auto-Configures)
# ===========================================
HOST=0.0.0.0
WORKSPACE_DIR=/app/workspace
# Railway sets PORT automatically - DO NOT set PORT manually
# Railway sets NODE_ENV=production automatically
# ===========================================
# Persistent Volumes (Configure in Railway Dashboard)
# ===========================================
# You MUST add these volumes in Railway dashboard:
# 1. Mount: /app/pocketbase/pb_data (Database + files)
# 2. Mount: /app/workspace (User projects)
# Without volumes, all data is lost on restart!
# ===========================================
# Optional: Custom LLM Endpoint
# ===========================================
# LLM_BASE_URL=https://custom-endpoint.example.com
# ===========================================
# Optional: Pocketbase (Advanced)
# ===========================================
# By default, Pocketbase runs on internal port 8091
# Only change if you have a specific reason:
# POCKETBASE_URL=http://127.0.0.1:8091