-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
45 lines (39 loc) · 1.94 KB
/
.env.example
File metadata and controls
45 lines (39 loc) · 1.94 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
# Glassbox Environment Variables
# Copy this file to .env and fill in your values
# NEVER commit .env files to version control
# =============================================================================
# Database Configuration
# =============================================================================
DB_PASSWORD=your-secure-database-password
# =============================================================================
# Authentication
# Must be the same value for both frontend and backend
# Generate with: openssl rand -base64 32
# =============================================================================
JWT_SECRET=your-64-character-random-secret-key-here
NEXTAUTH_SECRET=your-64-character-random-secret-key-here
JWT_EXPIRATION=604800
# =============================================================================
# URLs
# =============================================================================
FRONTEND_URL=https://your-domain.com
NEXTAUTH_URL=https://your-domain.com
NEXT_PUBLIC_API_URL=https://api.your-domain.com
# =============================================================================
# Google OAuth
# Get these from Google Cloud Console
# =============================================================================
GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your-client-secret
# =============================================================================
# Docker BuildKit Configuration
# Improves build performance and provides clearer output logs
# =============================================================================
DOCKER_BUILDKIT=1
BUILDKIT_PROGRESS=plain
# =============================================================================
# Docker Images (for production - set by CI/CD)
# =============================================================================
FRONTEND_IMAGE=ghcr.io/your-org/glassbox/frontend
BACKEND_IMAGE=ghcr.io/your-org/glassbox/backend
VERSION=latest