karbe/.env.production.example

36 lines
1,015 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
# Co-deployed PostgreSQL (docker-compose.prod.yml)
POSTGRES_DB=karbe
POSTGRES_USER=karbe
POSTGRES_PASSWORD=replace_with_strong_password
DATABASE_URL=postgresql://karbe:replace_with_strong_password@postgres:5432/karbe?schema=public
# Stripe TEST
STRIPE_SECRET_KEY=sk_test_xxx
STRIPE_WEBHOOK_SECRET=whsec_xxx
STRIPE_OWNER_SUBSCRIPTION_PRICE_ID=price_xxx
# Co-deployed MinIO (docker-compose.prod.yml)
MINIO_ROOT_USER=karbe
MINIO_ROOT_PASSWORD=replace_with_strong_password
S3_ENDPOINT=http://minio:9000
S3_REGION=us-east-1
S3_BUCKET=karbe-medias
S3_ACCESS_KEY_ID=karbe
S3_SECRET_ACCESS_KEY=replace_with_strong_password
S3_PUBLIC_URL=
S3_FORCE_PATH_STYLE=true
# Recommended for stable multi-instance deploys
NEXT_SERVER_ACTIONS_ENCRYPTION_KEY=replace_with_base64_32_bytes
DEPLOYMENT_VERSION=manual-v1