Files
coop/backend/.env.example
T
hobokenchicken 2e41156046 chore: add .env.example template files
Add environment variable templates for:
- Root .env.example (all services)
- backend/.env.example (API configuration)
- frontend/.env.local.example (client config)

Copy to .env and fill in your secrets before running.
2026-04-14 11:14:37 -04:00

42 lines
878 B
Bash

# Backend Environment Variables
# Copy to .env and fill in your values
# Database
DATABASE_URL="postgresql://coop:password@localhost:5432/coop_credits?schema=public"
# Server
PORT=3001
NODE_ENV=development
API_URL=http://localhost:3001
FRONTEND_URL=http://localhost:3000
# JWT (generate: openssl rand -hex 32)
JWT_SECRET=""
# Plex OAuth
PLEX_CLIENT_ID=""
PLEX_CLIENT_SECRET=""
PLEX_REDIRECT_URI=http://localhost:3000/auth/callback
# Tautulli
TAUTULLI_URL=http://172.20.1.255:8181
TAUTULLI_API_KEY=""
TAUTULLI_WEBHOOK_SECRET=""
# Overseer
OVERSEER_URL=http://172.20.1.225:5055
OVERSEER_API_KEY=""
# Solana
SOLANA_RPC_URL=https://api.devnet.solana.com
SOLANA_PROGRAM_ID=CoopCredits111111111111111111111111111111111
SOLANA_MINT_AUTHORITY_KEYPAIR=""
SOLANA_TOKEN_DECIMALS=6
# Security
ENCRYPTION_KEY=""
TRUST_PROXY=false
# Redis (optional)
REDIS_URL=redis://localhost:6379