forked from paperclipai/paperclip
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.railway.example
More file actions
37 lines (28 loc) · 1.08 KB
/
.env.railway.example
File metadata and controls
37 lines (28 loc) · 1.08 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
# Railway Deployment Environment Variables for Paperclip
# Copy these into your Railway service's Variables tab
# Database — use Railway's Postgres reference variable
DATABASE_URL=${{Postgres.DATABASE_URL}}
# Server
PORT=3100
HOST=0.0.0.0
SERVE_UI=true
# Deployment mode — must be authenticated + public for Railway
PAPERCLIP_DEPLOYMENT_MODE=authenticated
PAPERCLIP_DEPLOYMENT_EXPOSURE=public
# Auth — replace with your Railway-generated domain
PAPERCLIP_AUTH_BASE_URL_MODE=explicit
PAPERCLIP_AUTH_PUBLIC_BASE_URL=https://your-app.up.railway.app
# Auth secret — generate with: openssl rand -hex 32
BETTER_AUTH_SECRET=
# Auto-apply database migrations on startup
PAPERCLIP_MIGRATION_AUTO_APPLY=true
# Lock down sign-ups after creating your admin account
# PAPERCLIP_AUTH_DISABLE_SIGN_UP=true
# Optional: S3-compatible storage (Railway filesystem is ephemeral)
# PAPERCLIP_STORAGE_PROVIDER=s3
# PAPERCLIP_STORAGE_S3_BUCKET=
# PAPERCLIP_STORAGE_S3_REGION=us-east-1
# PAPERCLIP_STORAGE_S3_ENDPOINT=
# Optional: AI provider keys (for agent adapters)
# ANTHROPIC_API_KEY=
# OPENAI_API_KEY=