.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.example)
NODE_ENV
Environment (development, staging, production)
FRONTEND_URL
Application URLs
API_BASE_URL
NEXT_PUBLIC_API_URL
API_PORT
Server Ports
FRONTEND_PORT
POSTGRES_PORT
POSTGRES_DB
PostgreSQL Database
POSTGRES_USER
POSTGRES_PASSWORD
secret
DATABASE_URL
secret
DATABASE_POOL_MIN
Database Connection Pool
DATABASE_POOL_MAX
REDIS_URL
secret
Redis Cache
REDIS_PASSWORD
secret
REDIS_DB
SESSION_SECRET
secret
Session Configuration
SESSION_MAX_AGE
JWT_SECRET
secret
JWT Configuration
JWT_EXPIRES_IN
secret
brew install flyctl && fly launch --from https://github.com/aieradev/sociallim
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/aieradev/sociallim
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/aieradev/sociallim