Files
coop/backend/.env.example
T
hobokenchicken e8d9b1fd42 feat: add CoopCredits Solana media rewards ecosystem
Add complete  token system with Plex/Tautulli/Overseer integration:
- Anchor program for SPL token mint/burn/transfer
- Express backend with OAuth, webhooks, Solana integration
- Next.js frontend with dashboard, admin panel, wallet management
- Docker deployment for 172.20.1.0/24 infrastructure
- Production configs with SSL, Nginx, health monitoring

Tautulli webhooks auto-mint  on watch events.
Overseer integration burns  for content requests.
2026-04-14 11:09:50 -04:00

39 lines
1.0 KiB
Bash

# Database
DATABASE_URL="postgresql://coop: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
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
JWT_EXPIRES_IN=7d
# Plex OAuth
PLEX_CLIENT_ID=your-plex-client-id
PLEX_CLIENT_SECRET=your-plex-client-secret
PLEX_REDIRECT_URI=http://localhost:3000/auth/callback
# Tautulli
TAUTULLI_URL=http://localhost:8181
TAUTULLI_API_KEY=your-tautulli-api-key
TAUTULLI_WEBHOOK_SECRET=your-webhook-secret
# Overseer
OVERSEER_URL=http://localhost:5055
OVERSEER_API_KEY=your-overseer-api-key
# Solana
SOLANA_RPC_URL=https://api.devnet.solana.com
SOLANA_PROGRAM_ID=CoopCredits111111111111111111111111111111111
SOLANA_MINT_AUTHORITY_KEYPAIR=your-base58-encoded-keypair-for-minting
SOLANA_TOKEN_DECIMALS=6
# Redis (optional - for caching and pub/sub)
REDIS_URL=redis://localhost:6379
# Encryption (for wallet private keys)
ENCRYPTION_KEY=your-32-char-encryption-key!!