- enable Next.js standalone output and add Docker/Caddy production stack - add production env template and deployment runbook - add healthcheck endpoint for container supervision - fix existing lint/type blockers discovered during validation Co-Authored-By: Paperclip <noreply@paperclip.ing>
31 lines
834 B
Text
31 lines
834 B
Text
NODE_ENV=production
|
|
PORT=3000
|
|
|
|
# Domain
|
|
NEXT_PUBLIC_SITE_URL=https://karbe.cosmolan.fr
|
|
APP_URL=https://karbe.cosmolan.fr
|
|
|
|
# Security
|
|
NEXTAUTH_SECRET=replace_with_random_secret
|
|
AUTH_SECRET=replace_with_random_secret
|
|
|
|
# Database (managed PostgreSQL recommended)
|
|
DATABASE_URL=postgresql://user:password@db-host:5432/karbe?schema=public
|
|
|
|
# Stripe TEST
|
|
STRIPE_SECRET_KEY=sk_test_xxx
|
|
STRIPE_WEBHOOK_SECRET=whsec_xxx
|
|
STRIPE_OWNER_SUBSCRIPTION_PRICE_ID=price_xxx
|
|
|
|
# Storage S3 / MinIO
|
|
S3_ENDPOINT=https://s3.example.com
|
|
S3_REGION=eu-west-3
|
|
S3_BUCKET=karbe-medias
|
|
S3_ACCESS_KEY_ID=replace_me
|
|
S3_SECRET_ACCESS_KEY=replace_me
|
|
S3_PUBLIC_URL=https://cdn.example.com/karbe-medias
|
|
S3_FORCE_PATH_STYLE=false
|
|
|
|
# Recommended for stable multi-instance deploys
|
|
NEXT_SERVER_ACTIONS_ENCRYPTION_KEY=replace_with_base64_32_bytes
|
|
DEPLOYMENT_VERSION=manual-v1
|