-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
47 lines (39 loc) · 1.01 KB
/
Copy path.env.example
File metadata and controls
47 lines (39 loc) · 1.01 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
# Database Configuration
DB_HOST=postgres
DB_PORT=5432
DB_USER=
DB_PASSWORD=
DB_NAME=musi_be
DB_SSLMODE=disable
# POSTGRES SUPERUSER (Privileged)
POSTGRES_USER=postgres
POSTGRES_PASSWORD=
# JWT Configuration
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
JWT_EXPIRES_IN=24h
# Server Configuration
SERVER_PORT=8080
SERVER_ENV=development
# File Upload Configuration
MAX_REQUEST_BODY_SIZE_MB=50
MAX_FILE_SIZE_MB=40
# Logging Configuration
LOG_LEVEL=debug
# Minio Configuration
MINIO_ENDPOINT=localhost:9000
MINIO_ACCESS_KEY=minioadmin
MINIO_SECRET_KEY=minio12345
MINIO_BUCKET_NAME=musidev
MINIO_BUCKET_LOCATION=us-east-1
MINIO_ROOT_USER=minioadmin
MINIO_ROOT_PASSWORD=minio12345
MINIO_IS_SECURE=true
# Rate Limiter Configuration
RATE_LIMITER_ENABLED=true
# CORS Configuration
CORS_ENABLED=true
CORS_ALLOWED_ORIGINS=http://localhost:5173,http://127.0.0.1:5173
CORS_ALLOWED_METHODS=GET,POST,PUT,DELETE,OPTIONS
CORS_ALLOWED_HEADERS=Origin,Content-Type,Accept,Authorization
CORS_ALLOW_CREDENTIALS=true
CORS_MAX_AGE=86400