# ============================================================ # vid0s — Environment Variables # Copy this file to .env and fill in values # ============================================================ # App NODE_ENV=development APP_URL=http://localhost:3000 NEXT_PUBLIC_APP_URL=http://localhost:3000 # Database DATABASE_URL=postgresql://vid0s:vid0s@localhost:5432/vid0s # Redis REDIS_URL=redis://localhost:6379 # AWS (use LocalStack for local dev — values below work as-is) AWS_ACCESS_KEY_ID=test AWS_SECRET_ACCESS_KEY=test AWS_REGION=us-east-1 # LocalStack endpoint — remove/omit this var in production AWS_ENDPOINT_URL=http://localhost:4566 S3_BUCKET_NAME=vid0s-local # Public S3 URL reachable by the browser (local dev only). # When running via Docker Compose, AWS_ENDPOINT_URL uses the Docker-internal # hostname (localstack:4566). This variable rewrites the presigned URL host # to something the browser can reach. Remove/omit in production. NEXT_PUBLIC_S3_PUBLIC_URL=http://localhost:4566 # CloudFront domain — set in production only CLOUDFRONT_DOMAIN= # Auth (NextAuth.js) NEXTAUTH_SECRET=changeme-generate-with-openssl-rand-base64-32 NEXTAUTH_URL=http://localhost:3000 GOOGLE_CLIENT_ID= GOOGLE_CLIENT_SECRET= GITHUB_CLIENT_ID= GITHUB_CLIENT_SECRET= # Payments — Paddle (default) # Set PAYMENT_BYPASS=true to skip checkout entirely (used in docker-compose for local dev) PAYMENT_BYPASS=false PADDLE_API_KEY=pdl_live_... PADDLE_WEBHOOK_SECRET=pdl_ntfset_... PADDLE_ENVIRONMENT=sandbox # sandbox | production NEXT_PUBLIC_PADDLE_CLIENT_TOKEN=test_... # Paddle Price IDs — one-time credit top-up packs (create in Paddle dashboard) PADDLE_PRICE_STARTER=pri_... PADDLE_PRICE_VALUE=pri_... PADDLE_PRICE_POWER=pri_... # Paddle Price IDs — subscription plans PADDLE_PRICE_PLAN_STARTER=pri_... PADDLE_PRICE_PLAN_PRO=pri_... PADDLE_PRICE_PLAN_BUSINESS=pri_... # Claude AI (Anthropic) ANTHROPIC_API_KEY=sk-ant-... # CDK — only needed when running cdk deploy (infra package) CDK_DEFAULT_ACCOUNT=123456789012 CDK_DEFAULT_REGION=us-east-1