40 lines
1.3 KiB
Bash
40 lines
1.3 KiB
Bash
DATABASE_URL=postgresql://recipes_user:Aa123456@localhost:5432/recipes_db
|
|
DB_PASSWORD=Aa123456
|
|
DB_USER=recipes_user
|
|
DB_NAME=recipes_db
|
|
DB_HOST=localhost
|
|
DB_PORT=5432
|
|
|
|
# Email Configuration
|
|
SMTP_HOST=smtp.gmail.com
|
|
SMTP_PORT=587
|
|
SMTP_USER=dvirlabs@gmail.com
|
|
SMTP_PASSWORD=agaanrhbbazbdytv
|
|
SMTP_FROM=dvirlabs@gmail.com
|
|
|
|
# Google OAuth
|
|
GOOGLE_CLIENT_ID=143092846986-hsi59m0on2c9rb5qrdoejfceieao2ioc.apps.googleusercontent.com
|
|
GOOGLE_CLIENT_SECRET=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
|
|
GOOGLE_REDIRECT_URI=http://localhost:8000/auth/google/callback
|
|
FRONTEND_URL=http://localhost:5174
|
|
|
|
# Microsoft Entra ID (Azure AD) OAuth
|
|
AZURE_CLIENT_ID=db244cf5-eb11-4738-a2ea-5b0716c9ec0a
|
|
AZURE_CLIENT_SECRET=Zad8Q~qRBxaQq8up0lLXAq4pHzrVM2JFGFJhHaDp
|
|
AZURE_TENANT_ID=consumers
|
|
AZURE_REDIRECT_URI=http://localhost:8000/auth/azure/callback
|
|
|
|
# Cloudflare R2 Backup Configuration
|
|
R2_ENDPOINT=https://d4704b8c40b2f95b2c7bf7ee4ecc52f8.r2.cloudflarestorage.com
|
|
R2_ACCESS_KEY=1997b1e48a337c0dbe1f7552a08631b5
|
|
R2_SECRET_KEY=369694e39fedfedb254158c147171f5760de84fa2346d5d5d5a961f1f517dbc6
|
|
# Buckets are auto-selected based on environment (FRONTEND_URL)
|
|
# Dev: my-recipes-db-bkp-dev
|
|
# Prod: my-recipes-db-bkp-prod
|
|
|
|
# Automatic Backup Schedule
|
|
# Options: test (every 1 minute), daily, weekly, disabled
|
|
# For testing: BACKUP_INTERVAL=test
|
|
# For production: BACKUP_INTERVAL=weekly
|
|
BACKUP_INTERVAL=weekly
|