Files
wedding-planner/.env.example

33 lines
849 B
Plaintext

# Database
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=wedding_planner
POSTGRES_HOST=postgres
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:5432/${POSTGRES_DB}
# App Config
NEXTAUTH_SECRET=your-secret
NEXTAUTH_URL=http://localhost:3000
NEXT_PUBLIC_BASE_URL=http://localhost:3000
# OIDC Configuration (optional)
OIDC_ENABLED=true
OIDC_PROVIDER_NAME="Company SSO" # Display name for the button
OIDC_CLIENT_ID=your-oidc-client-id
OIDC_CLIENT_SECRET=your-oidc-client-secret
OIDC_ISSUER=https://your-oidc-provider.com/auth/realms/your-realm
# Optional: Role mapping
OIDC_ROLE_CLAIM=roles
OIDC_ADMIN_ROLES=admin,superuser
OIDC_PLANNER_ROLES=planner,editor
# SMTP (optional)
SMTP_HOST=smtpserver
SMTP_PORT=587
SMTP_USER=user
SMTP_PASS=password
SMTP_FROM_NAME=Wedding Planner
SMTP_FROM_EMAIL=email