-
Notifications
You must be signed in to change notification settings - Fork 223
Expand file tree
/
Copy pathexample.env
More file actions
68 lines (57 loc) · 2.07 KB
/
example.env
File metadata and controls
68 lines (57 loc) · 2.07 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
57
58
59
60
61
62
63
64
65
66
67
68
# ------------------------------------------
# Required: API Keys
# ------------------------------------------
# Get from: https://platform.openai.com/api-keys
OPENAI_API_KEY=
# ------------------------------------------
# Optional: Slack
# ------------------------------------------
# Create app from the manifest in docs/SLACK_CONNECT.md.
# Bot token (xoxb-...) from the Install App page.
# Signing secret from Basic Information → App Credentials.
# SLACK_TOKEN=
# SLACK_SIGNING_SECRET=
# ------------------------------------------
# Database
# ------------------------------------------
# Defaults work out of the box with Docker Compose.
# Only change these if you're using an external database.
# DB_USER=ai
# DB_PASS=ai
# DB_HOST=localhost
# DB_PORT=5432
# DB_DATABASE=ai
# ------------------------------------------
# Production: Security
# ------------------------------------------
# RBAC is enabled automatically when RUNTIME_ENV=prd.
# Generate a key pair at os.agno.com → Settings.
# Paste the public key below (including BEGIN/END lines).
# See: https://docs.agno.com/agent-os/security/overview
# See: https://docs.agno.com/agent-os/security/rbac
# JWT_VERIFICATION_KEY=
# ------------------------------------------
# Production: Server
# ------------------------------------------
# Scheduler callback URL for production deployments.
# In dev mode, defaults to http://127.0.0.1:8000.
# AGENTOS_URL=https://dash.example.com
# ------------------------------------------
# Production: Deployment
# ------------------------------------------
# Local dev uses .env (Docker Compose default).
# Production uses .env.production (Railway via railway_env.sh).
#
# Setup:
# Local: cp example.env .env
# Production: cp example.env .env.production
#
# Deploy to Railway:
# First time: ./scripts/railway_up.sh
# Redeploy: ./scripts/railway_redeploy.sh
# Sync env: ./scripts/railway_env.sh (reads .env.production)
#
# Secure your deployment:
# 1. Set RUNTIME_ENV=prd
# 2. Set JWT_VERIFICATION_KEY from os.agno.com
# 3. Connect at os.agno.com → Add OS → your deployed URL