united-tattoo/wrangler.toml

29 lines
663 B
TOML

name = "united-tattoo"
compatibility_date = "2024-09-23"
compatibility_flags = ["nodejs_compat"]
# D1 Database binding
[[d1_databases]]
binding = "DB"
database_name = "united-tattoo"
database_id = "5d133d3b-680f-4772-b4ea-594c55cd1bd5"
# R2 bucket binding
[[r2_buckets]]
binding = "R2_BUCKET"
bucket_name = "united-tattoo"
# Environment variables for production
[env.production.vars]
NEXTAUTH_URL = "https://your-domain.com"
NODE_ENV = "production"
# Environment variables for preview
[env.preview.vars]
NEXTAUTH_URL = "https://your-preview-domain.pages.dev"
NODE_ENV = "development"
# Build configuration for Next.js
[build]
command = "npm run pages:build"