mirror of
https://github.com/rmoren97/mc-manager.git
synced 2026-02-10 17:40:30 -08:00
exception to allow .env.example to be committed, while still ignoring other .env files. This is useful for providing a template for environment variables without exposing sensitive information.
This commit is contained in:
parent
fda510ca3e
commit
ff0454537f
33
.env.example
Normal file
33
.env.example
Normal file
@ -0,0 +1,33 @@
|
||||
# ==================================================
|
||||
# MC-Manager — Environment Variables
|
||||
# Copy this file to .env.local and fill in values
|
||||
# ==================================================
|
||||
|
||||
# --- Database ---
|
||||
MONGODB_URI=mongodb://localhost:27017/mc-manager
|
||||
|
||||
# --- Authentication (JWT) ---
|
||||
JWT_ACCESS_SECRET=change-me-access-secret-min-32-chars
|
||||
JWT_REFRESH_SECRET=change-me-refresh-secret-min-32-chars
|
||||
TWO_FACTOR_SECRET=change-me-2fa-secret-min-32-chars
|
||||
|
||||
# --- Email: Microsoft Graph API (primary) ---
|
||||
# AZURE_TENANT_ID=
|
||||
# AZURE_CLIENT_ID=
|
||||
# AZURE_CLIENT_SECRET=
|
||||
# GRAPH_SENDER_EMAIL=noreply@yourdomain.com
|
||||
|
||||
# --- Email: SMTP (fallback) ---
|
||||
SMTP_HOST=smtp.example.com
|
||||
SMTP_PORT=587
|
||||
SMTP_USER=noreply@example.com
|
||||
SMTP_PASS=your-smtp-password
|
||||
SMTP_FROM=MC-Manager <noreply@example.com>
|
||||
|
||||
# --- Docker ---
|
||||
MC_SERVERS_PATH=/opt/mc-servers
|
||||
DOCKER_SOCKET=/var/run/docker.sock
|
||||
|
||||
# --- App ---
|
||||
NEXT_PUBLIC_APP_URL=http://localhost:3000
|
||||
NODE_ENV=development
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -32,6 +32,7 @@ yarn-error.log*
|
||||
|
||||
# env files (can opt-in for committing if needed)
|
||||
.env*
|
||||
!.env.example
|
||||
|
||||
# vercel
|
||||
.vercel
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user