-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.docker
More file actions
102 lines (88 loc) · 3.23 KB
/
Copy path.env.docker
File metadata and controls
102 lines (88 loc) · 3.23 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# ============================================
# Jet Admin - Docker Environment Variables
# ============================================
# Copy this file to .env and configure for your environment
# Usage: cp .env.docker .env
# ============================================
# Server Configuration
# ============================================
NODE_ENV=production
PORT=8090
# ============================================
# Database Configuration
# ============================================
# For internal Docker network:
DATABASE_URL=postgresql://postgres:your_secure_password@postgres:5432/jet_admin_db
POSTGRES_USER=postgres
POSTGRES_PASSWORD=your_secure_password
POSTGRES_DB=jet_admin_db
# Set to true on first run to initialize database
SEED_DATABASE=false
# ============================================
# RabbitMQ Configuration
# ============================================
RABBITMQ_URL=amqp://guest:your_rabbitmq_password@rabbitmq:5672
RABBITMQ_USER=guest
RABBITMQ_PASS=your_rabbitmq_password
# ============================================
# Authentication Secrets (CHANGE THESE!)
# ============================================
# Generate secure secrets: openssl rand -hex 32
JWT_ACCESS_TOKEN_SECRET=generate_a_secure_random_string_here
JWT_REFRESH_TOKEN_SECRET=generate_another_secure_random_string_here
ACCESS_TOKEN_TIMEOUT=900
REFRESH_TOKEN_TIMEOUT=100h
SESSION_SECRET=generate_a_session_secret_here
# ============================================
# SSL Configuration
# ============================================
# Common Name for self-signed certificate
SSL_CERT_CN=localhost
# ============================================
# Firebase Configuration (Optional)
# ============================================
VITE_FIREBASE_API_KEY=
VITE_FIREBASE_AUTH_DOMAIN=
VITE_FIREBASE_PROJECT_ID=
VITE_FIREBASE_STORAGE_BUCKET=
VITE_FIREBASE_MESSAGING_SENDER_ID=
VITE_FIREBASE_APP_ID=
VITE_FIREBASE_MEASUREMENT_ID=
# ============================================
# Supabase Configuration (Optional)
# ============================================
VITE_SUPABASE_URL=
VITE_SUPABASE_KEY=
# ============================================
# Logging Configuration
# ============================================
LOG_LEVEL=info
SYSLOG_HOST=127.0.0.1
SYSLOG_PORT=514
SYSLOG_PROTOCOL=udp4
SYSLOG_LEVEL=warning
LOG_RETENTION=7
LOG_FILE_SIZE=1
# ============================================
# AI Configuration (Optional)
# ============================================
GEMINI_API_KEY=
# ============================================
# CORS Configuration
# ============================================
CORS_WHITELIST=http://localhost:3000,http://localhost:5173
# ============================================
# Express Configuration
# ============================================
EXPRESS_REQUEST_SIZE_LIMIT=5mb
# ============================================
# MCP Server Configuration
# ============================================
# For Backend -> MCP communication: URL of the MCP container
MCP_SERVER_URL=http://mcp-server:5001
# For MCP -> Backend communication: URL of the backend container
JET_ADMIN_BACKEND_URL=http://backend:8090
# Same Firebase credentials as backend (required for MCP token verification)
# FIREBASE_CREDENTIALS=''
# Set to "true" to enable verbose debug logging for MCP
MCP_DEBUG=false