added env example
This commit is contained in:
25
.env.example
Normal file
25
.env.example
Normal file
@@ -0,0 +1,25 @@
|
||||
# Database — MariaDB 11
|
||||
DATABASE_URL="mysql://biztaghavi:password@localhost:3306/biztaghavi"
|
||||
|
||||
# Admin panel — generate with: openssl rand -hex 32
|
||||
SESSION_SECRET="change-me-to-a-random-64-char-string"
|
||||
|
||||
# One-time admin user creation key — set then delete after use
|
||||
SETUP_KEY="change-me-to-a-secret-key"
|
||||
|
||||
# Email (Resend) — optional; messages are saved to DB regardless
|
||||
RESEND_API_KEY=""
|
||||
CONTACT_EMAIL="ali@biztaghavi.com"
|
||||
|
||||
# Site
|
||||
NEXT_PUBLIC_SITE_URL="https://biztaghavi.com"
|
||||
|
||||
# Analytics (Umami) — optional
|
||||
NEXT_PUBLIC_UMAMI_WEBSITE_ID=""
|
||||
NEXT_PUBLIC_UMAMI_URL=""
|
||||
|
||||
# Docker DB credentials (used by docker-compose.yml)
|
||||
DB_ROOT_PASSWORD="change-me"
|
||||
DB_NAME="biztaghavi"
|
||||
DB_USER="biztaghavi"
|
||||
DB_PASSWORD="change-me"
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -32,7 +32,7 @@ yarn-error.log*
|
||||
.pnpm-debug.log*
|
||||
|
||||
# env files (can opt-in for committing if needed)
|
||||
.env*
|
||||
.env.local
|
||||
|
||||
# vercel
|
||||
.vercel
|
||||
|
||||
Reference in New Issue
Block a user