NODE_ENV=production

DATABASE_URL=postgresql://bizone:replace-with-url-encoded-db-password@127.0.0.1:5432/wa_dashboard
REDIS_URL=redis://127.0.0.1:6379

PORT=3001
FRONTEND_ORIGIN=https://portal.bizone.id
PUBLIC_API_URL=https://portal.bizone.id
INTERNAL_API_URL=http://127.0.0.1:3001/api
NEXT_PUBLIC_API_URL=https://portal.bizone.id/backend-api

JWT_SECRET=replace-with-32-plus-char-random-secret
JWT_EXPIRES_IN=1d
JWT_REFRESH_SECRET=replace-with-32-plus-char-random-refresh-secret
JWT_REFRESH_EXPIRES_IN=30d

WEBHOOK_VERIFY_TOKEN=replace-with-32-plus-char-random-token
WEBHOOK_SHARED_SECRET=replace-with-32-plus-char-random-secret
META_WEBHOOK_APP_SECRET=replace-with-real-meta-app-secret
WEBHOOK_ALLOW_UNSIGNED=false

MAIL_HOST=mail.bizone.id
MAIL_PORT=465
MAIL_SECURE=true
MAIL_USER=no-reply@bizone.id
MAIL_PASSWORD=replace-with-real-smtp-password
MAIL_FROM=BizOne Portal <no-reply@bizone.id>

AUTH_LOGIN_MAX_ATTEMPTS=5
AUTH_LOGIN_WINDOW_MINUTES=15
AUTH_2FA_MAX_ATTEMPTS=5
AUTH_2FA_WINDOW_MINUTES=10
AUTH_PASSWORD_RESET_MAX_ATTEMPTS=3
AUTH_PASSWORD_RESET_WINDOW_MINUTES=30

MIDTRANS_ENV=sandbox
MIDTRANS_SERVER_KEY=replace-with-real-midtrans-server-key
MIDTRANS_CLIENT_KEY=replace-with-real-midtrans-client-key
MIDTRANS_MERCHANT_ID=replace-with-real-midtrans-merchant-id
MIDTRANS_ALLOWED_PAYMENT_TYPES=gopay,shopeepay,bank_transfer,credit_card
