-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.env
37 lines (30 loc) · 906 Bytes
/
sample.env
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
# PostgresSQL Configuration
POSTGRES_HOST=localhost
POSTGRES_PORT=6500
POSTGRES_USER=admin
POSTGRES_PASSWORD=password123
POSTGRES_DB=kafka-rest
POSTGRES_MAX_CONNECTIONS=1000
POSTGRES_SHARED_BUFFERS=256MB
POSTGRES_WORK_MEM=32MB
POSTGRES_EFFECTIVE_CACHE_SIZE=512MB
# Database dsn for PostgresSQL
DATABASE_URL=postgresql://admin:password123@localhost:6500/kafka-rest?schema=public
# Client origin for CORS
CLIENT_ORIGIN=http://localhost:3000
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:3001
# pgAdmin Configuration
PGADMIN_DEFAULT_USER=admin
PGADMIN_DEFAULT_EMAIL=admin@example.com
PGADMIN_DEFAULT_PASSWORD=your_pgadmin_password
# JSON Web Token Configuration
JWT_SECRET=my_ultra_secure_secret
JWT_EXPIRED_IN=60m
JWT_MAXAGE=60
# Use sample data
USE_SAMPLE_DATA=true
# Kafka Configuration
KAFKA_BROKERS=localhost:9092
KAFKA_NUM_OF_PARTITIONS=1
# Websocket Configuration
ENABLE_WEBSOCKET=true