forked from HackHumanityOrg/hos-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
28 lines (25 loc) · 1.12 KB
/
.env.example
File metadata and controls
28 lines (25 loc) · 1.12 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
# Database Connection
# For local development, use a local PostgreSQL instance:
# DATABASE_URL="postgresql://user:password@localhost:5432/hos_api"
#
# For PlanetScale Postgres production (port 5432 for direct connections):
# DATABASE_URL="postgresql://username:password@host.psdb.cloud:5432/database?sslmode=require"
#
# For PlanetScale Postgres with PgBouncer (port 6432, recommended for OLTP workloads):
# DATABASE_URL="postgresql://username:password@host.psdb.cloud:6432/database?sslmode=require"
DATABASE_URL="postgresql://user:password@localhost:5432/hos_api"
# Service Configuration
SERVICE_VERSION="0.1.0"
DEPLOYMENT_ENVIRONMENT="development"
# Application Configuration (optional - these have defaults in config.toml)
# Use double underscores for nested keys (Figment):
# APP_SERVER__HOST="127.0.0.1"
# APP_SERVER__PORT="3000"
# APP_LOGGING__LEVEL="info"
RUST_LOG="info"
# Telegram indexer settings (required for telegram-indexer)
# TELEGRAM_API_ID="123456"
# TELEGRAM_API_HASH="your_hash"
# TELEGRAM_CHANNELS="@example_channel,-1001234567890"
# TELEGRAM_SESSION_FILE="telegram_session.bin"
# TELEGRAM_SESSION_DATA="base64_session_blob"