added env example
Some checks failed
CI/CD Pipeline / Lint & Typecheck (push) Failing after 8s
CI/CD Pipeline / Deploy to Server (push) Has been skipped

This commit is contained in:
Ali Taghavi
2026-05-10 09:32:58 +03:30
parent 27d7c43f24
commit 1ee1da1a62
2 changed files with 26 additions and 1 deletions

25
.env.example Normal file
View 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
View File

@@ -32,7 +32,7 @@ yarn-error.log*
.pnpm-debug.log*
# env files (can opt-in for committing if needed)
.env*
.env.local
# vercel
.vercel