-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sample
More file actions
38 lines (31 loc) · 863 Bytes
/
.env.sample
File metadata and controls
38 lines (31 loc) · 863 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
31
32
33
34
35
36
37
38
# Development Environment Variables Template
# Copy this file to .env and update the values for your environment
# Application Environment
CMP_ENV=production
# Server Configuration
CMP_PORT=8080
CMP_HOST=localhost
# Database Configuration
CMP_DB_HOST=localhost
CMP_DB_PORT=5432
CMP_DB_USER=cmp_user
CMP_DB_PASSWORD=cmp_password
CMP_DB_NAME=cmp
CMP_DB_SSLMODE=disable
CMP_DB_MAX_CONNS=25
CMP_DB_MIN_CONNS=5
# Redis Configuration
CMP_REDIS_HOST=localhost
CMP_REDIS_PORT=6379
CMP_REDIS_PASSWORD=
CMP_REDIS_DB=0
CMP_REDIS_POOL_SIZE=10
# JWT Configuration
CMP_JWT_SECRET=jwt-secret-key-change-in-production # openssl rand -base64 48
CMP_JWT_EXPIRATION=24
CMP_JWT_ISSUER=cmp
# Encryption Configuration
CMP_ENCRYPTION_KEY=encryption-key-32-bytes-long # openssl rand -base64 48
# NATS Configuration
CMP_NATS_URL=nats://localhost:4222
CMP_NATS_CLUSTER=cmp-cluster