-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.docker.example
More file actions
54 lines (44 loc) · 1.72 KB
/
Copy path.env.docker.example
File metadata and controls
54 lines (44 loc) · 1.72 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
52
53
# ============================================
# Streamify — Docker Environment Variables
# ============================================
# Copy this file to .env.docker and fill in your values:
# cp .env.docker.example .env.docker
#
# NOTE: MONGODB_URL, DB_NAME, REDIS_URL, and CORS_ORIGIN
# are set in docker-compose.yml and do NOT need to be here.
# Only add secrets and service-specific config below.
# ============================================
# ---- JWT Configuration ----
ACCESS_TOKEN_SECRET=your-access-token-secret-here
ACCESS_TOKEN_EXPIRY=1d
REFRESH_TOKEN_SECRET=your-refresh-token-secret-here
REFRESH_TOKEN_EXPIRY=10d
# ---- Session ----
SESSION_SECRET=your-strong-random-session-secret-here
# ---- Cloudinary (Video/Image Storage) ----
CLOUD_NAME=your-cloud-name
API_KEY=your-cloudinary-api-key
API_SECRET=your-cloudinary-api-secret
# ---- Email / SMTP (Optional) ----
# SMTP_HOST=smtp.gmail.com
# SMTP_PORT=587
# SMTP_SECURE=false
# SMTP_USER=your-email@gmail.com
# SMTP_PASS=your-app-password
# EMAIL_FROM="Streamify <noreply@streamify.com>"
# ---- Frontend URL (for email links) ----
FRONTEND_URL=https://streamify.example.com
# ---- Google OAuth (Optional) ----
# GOOGLE_CLIENT_ID=your-google-client-id
# GOOGLE_CLIENT_SECRET=your-google-client-secret
# GOOGLE_CALLBACK_URL=https://streamify.example.com/api/v1/auth/google/callback
# ============================================
# Production / Traefik (used by docker-compose.prod.yml)
# ============================================
# ---- Domain & SSL ----
DOMAIN=streamify.example.com
ACME_EMAIL=admin@example.com
# ---- Traefik Dashboard Auth ----
# Generate with: htpasswd -nB admin
# Escape $ as $$ in docker-compose env vars
TRAEFIK_DASHBOARD_AUTH=admin:$$2y$$05$$placeholder