-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
103 lines (83 loc) · 3.22 KB
/
.env.example
File metadata and controls
103 lines (83 loc) · 3.22 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
103
# ─── Gateway ────────────────────────────────
PORT=3000
JWT_SECRET=
# ─── Services ───────────────────────────────
USER_SERVICE_PORT=3001
PROJECT_SERVICE_PORT=3002
CONTAINER_SERVICE_PORT=3003
COLLAB_SERVICE_PORT=3004
EXECUTION_SERVICE_PORT=3005
STORAGE_SERVICE_PORT=3006
# ─── Service URLs ────────────────────────────
USER_SERVICE_URL=http://localhost:3001
PROJECT_SERVICE_URL=http://localhost:3002
CONTAINER_SERVICE_URL=http://localhost:3003
COLLAB_SERVICE_URL=http://localhost:3004
EXECUTION_SERVICE_URL=http://localhost:3005
STORAGE_SERVICE_URL=http://localhost:3006
# ─── Database ───────────────────────────────
DATABASE_URL=
# ─── Redis ──────────────────────────────────
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=
# ─── MinIO ──────────────────────────────────
MINIO_ENDPOINT=127.0.0.1
MINIO_PORT=9000
MINIO_USE_SSL=false
MINIO_ACCESS_KEY=
MINIO_SECRET_KEY=
# ─── Auth ───────────────────────────────────
ACCESS_TOKEN_EXPIRATION=15m
REFRESH_TOKEN_EXPIRATION=7d
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_CALLBACK_URL=http://localhost:3001/auth/github/callback
# ─── Frontend ───────────────────────────────
VITE_API_URL=http://localhost:3000
ORIGIN=http://localhost:5173
CLIENT_URL=http://localhost:5173
# ─── App ────────────────────────────────────
NODE_ENV=development
# Database Configuration
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/synthex_db?schema=public"
PRISMA_DEBUG=false
ORIGIN=http://localhost:5173
# Redis Configuration
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=redis_password
# MinIO Configuration
MINIO_ENDPOINT=localhost
MINIO_PORT=9000
MINIO_ACCESS_KEY=minioadmin
MINIO_SECRET_KEY=minioadmin123
MINIO_USE_SSL=false
MINIO_USER_FILES_BUCKET=user-files
MINIO_PROJECT_FILES_BUCKET=project-files
MINIO_EXECUTION_OUTPUTS_BUCKET=execution-outputs
# Service Ports
API_GATEWAY_PORT=3000
USER_SERVICE_PORT=3001
PROJECT_SERVICE_PORT=3002
CONTAINER_SERVICE_PORT=3003
EXECUTION_SERVICE_PORT=3004
STORAGE_SERVICE_PORT=3005
# Service URLs
USER_SERVICE_URL=http://localhost:3001
PROJECT_SERVICE_URL=http://localhost:3002
CONTAINER_SERVICE_URL=http://localhost:3003
EXECUTION_SERVICE_URL=http://localhost:3004
STORAGE_SERVICE_URL=http://localhost:3005
# JWT Configuration
JWT_SECRET="your-super-secret-jwt-key-change-in-production-please"
JWT_EXPIRES_IN=7d
# Session Configuration
SESSION_SECRET=your-super-secret-session-key-change-in-production-please
SESSION_TTL=86400
# Node Environment
NODE_ENV=development
# Github OAUth Secrets
GITHUB_CLIENT_ID=your_github_client_id
GITHUB_CLIENT_SECRET=your_github_client_secret
GITHUB_CALLBACK_URL=http://localhost:3001/auth/github/callback