-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
30 lines (23 loc) · 924 Bytes
/
.env.example
File metadata and controls
30 lines (23 loc) · 924 Bytes
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
# 4chan v2 Environment Configuration
# Copy this file to .env and set secure values before deployment
# Database Configuration
POSTGRES_USER=your_secure_db_user
POSTGRES_PASSWORD=your_secure_db_password
POSTGRES_DB=4chan
# JWT Secrets (generate strong random values)
JWT_SECRET=your_secure_jwt_secret_at_least_32_chars
JWT_REFRESH_SECRET=your_secure_refresh_secret_at_least_32_chars
# MinIO/S3 Configuration
MINIO_ROOT_USER=your_secure_minio_user
MINIO_ROOT_PASSWORD=your_secure_minio_password
MINIO_ACCESS_KEY=your_secure_access_key
MINIO_SECRET_KEY=your_secure_secret_key
# Grafana Configuration
GRAFANA_ADMIN_USER=admin
GRAFANA_ADMIN_PASSWORD=your_secure_grafana_password
# Redis Configuration (optional)
REDIS_PASSWORD=your_secure_redis_password
# Production URLs (for Kubernetes deployment)
CORS_ORIGINS=https://your-domain.com
API_URL=https://api.your-domain.com
# Unicode encoding fix applied to commit author