-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
51 lines (41 loc) · 1.92 KB
/
.env.example
File metadata and controls
51 lines (41 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
DATABASE_HOSTNAME = -----
DATABASE_PORT = -----
DATABASE_PASSWORD = ******
DATABASE_NAME = ----
DATABASE_USERNAME = ----
SECRET_KEY = create a secret key
ALGORITHM = algorithm for jwt token
ACCESS_TOKEN_EXPIRE_MINUTES = minutes of expiration
# .env — ADD THESE to your existing .env file
# ─────────────────────────────────────────────
# Never commit this file to Git!
# Make sure .env is in your .gitignore
# ─────────────────────────────────────────────
# ── Redis ──────────────────────────────────────
# If Redis is running locally (default setup):
REDIS_BROKER_URL=redis://localhost:6379/0
REDIS_RESULT_BACKEND=redis://localhost:6379/1
# If Redis requires a password:
# REDIS_BROKER_URL=redis://:yourpassword@localhost:6379/0
# REDIS_RESULT_BACKEND=redis://:yourpassword@localhost:6379/1
# ── Email / SMTP ───────────────────────────────
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=465
# Your Gmail address (or whichever email provider)
EMAIL_USERNAME=you@gmail.com
# For Gmail with 2FA: generate an App Password here:
# https://myaccount.google.com/apppasswords
# Use THAT password below, NOT your real Gmail password
EMAIL_PASSWORD=your_app_password_here
FLOWER_PORT = 5555
FLOWER_HOST = "0.0.0.0"
FLOWER_BASIC_AUTH = "admin:admin" # username:password
FLOWER_URL_PREFIX = "/flower"
# Google OAuth
GOOGLE_CLIENT_ID=your_google_client_id_here
GOOGLE_CLIENT_SECRET=your_google_client_secret_here
GOOGLE_REDIRECT_URI=http://localhost:8000/auth/google/callback
# GitHub OAuth
GITHUB_CLIENT_ID=your_github_client_id_here
GITHUB_CLIENT_SECRET=your_github_client_secret_here
GITHUB_REDIRECT_URI=http://localhost:8000/auth/github/callback