-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
47 lines (38 loc) · 1.5 KB
/
.env.example
File metadata and controls
47 lines (38 loc) · 1.5 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
# ============================================================================
# Spring Boot Environment Variables
# ============================================================================
# 이 파일을 .env로 복사한 후 실제 값을 입력하세요.
# cp .env.example .env
# (.gitignore에 의해 .env는 Git에서 제외됩니다)
# ============================================================================
# --- Profile ---
SPRING_PROFILES_ACTIVE=local
# --- Server ---
SERVER_PORT=8080
# --- Database (MySQL) ---
DATABASE_URL=jdbc:mysql://localhost:13306/app_db?allowPublicKeyRetrieval=true&useSSL=false
DATABASE_NAME=app_db
DATABASE_ROOT_PASSWORD=rootpassword
DATABASE_USER=app_user
DATABASE_PASSWORD=app_password
# --- JWT ---
JWT_SECRET_KEY=6c8b6817-828b-418c-adfa-edcc993cd0c9
JWT_ACCESS_TOKEN_EXPIRES_IN=720000000
JWT_REFRESH_TOKEN_EXPIRES_IN=1209600000
# --- Redis ---
REDIS_HOST=localhost
REDIS_PORT=16379
# --- Kafka ---
KAFKA_BOOTSTRAP_SERVERS=localhost:19092
KAFKA_CONSUMER_GROUP_ID=dabom-api-notification
KAFKA_AUTO_OFFSET_RESET=earliest
KAFKA_POLICY_DEDUP_TTL_SECONDS=3600
KAFKA_USAGE_PERSIST_DEDUP_TTL_SECONDS=600
# --- CORS ---
FRONTEND_URL=http://localhost:3000,http://localhost:3001
# --- Observability (OpenTelemetry) ---
OTEL_SDK_DISABLED=true
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318
# --- Web Push (VAPID) ---
VAPID_PUBLIC_KEY=BM84STKS8WHjcqexQx5Shgwjt2Odo4rd5vX6plHzva8iqwQWMaB4AdDcA9fvCkSLEegsXhF-Mz1jB9OWDd13GxI
VAPID_PRIVATE_KEY=cKWccFZkEEzDKtXhMRHp61QI3UBx2n5TxpRe6kQJ0aI