-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
105 lines (89 loc) · 3.09 KB
/
Copy path.env.example
File metadata and controls
105 lines (89 loc) · 3.09 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# ============================================
# Application
# ============================================
NODE_ENV=development
# ============================================
# Database (PostgreSQL)
# ============================================
DATABASE_URL=postgresql://coin:coin_dev@localhost:5432/coin?schema=public
POSTGRES_DB=coin
POSTGRES_USER=coin
POSTGRES_PASSWORD=coin_dev
# ============================================
# Redis
# ============================================
REDIS_HOST=localhost
REDIS_PORT=6379
# ============================================
# Kafka
# ============================================
KAFKA_BROKERS=localhost:9092
# ============================================
# JWT
# ============================================
JWT_ACCESS_SECRET=your-access-secret-change-me
JWT_ACCESS_EXPIRES_IN=15m
JWT_REFRESH_SECRET=your-refresh-secret-change-me
JWT_REFRESH_EXPIRES_IN=7d
# ============================================
# OAuth - Google
# ============================================
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_CALLBACK_URL=http://localhost/api/auth/google/callback
# ============================================
# OAuth - Kakao
# ============================================
KAKAO_CLIENT_ID=
KAKAO_CLIENT_SECRET=
KAKAO_CALLBACK_URL=http://localhost/api/auth/kakao/callback
# ============================================
# OAuth - Naver
# ============================================
NAVER_CLIENT_ID=
NAVER_CLIENT_SECRET=
NAVER_CALLBACK_URL=http://localhost/api/auth/naver/callback
# ============================================
# Exchange - Upbit (https://upbit.com > 마이페이지 > Open API 관리)
# ============================================
UPBIT_ACCESS_KEY=
UPBIT_SECRET_KEY=
# ============================================
# Exchange - Binance (https://www.binance.com > 프로필 > API 관리)
# ============================================
BINANCE_API_KEY=
BINANCE_SECRET_KEY=
# ============================================
# Exchange - Bybit (https://www.bybit.com > 계정 > API 관리)
# ============================================
BYBIT_API_KEY=
BYBIT_SECRET_KEY=
# ============================================
# Exchange API Key Encryption (사용자 거래소 키 DB 저장 시 암호화용)
# ============================================
# 64-char hex string (openssl rand -hex 32)
ENCRYPTION_MASTER_KEY=
# ============================================
# Telegram Bot
# ============================================
TELEGRAM_BOT_TOKEN=
# ============================================
# API Server
# ============================================
API_SERVER_PORT=3000
# ============================================
# Web (Next.js)
# ============================================
NEXT_PUBLIC_API_URL=/api
NEXT_PUBLIC_WS_URL=/ws
# ============================================
# Logging
# ============================================
LOG_LEVEL=info
# ============================================
# Volume Paths
# ============================================
# Data volumes (PostgreSQL, Redis, Kafka)
DATA_DIR=/opt/coin/data
# Log volumes (api-server, worker-service)
LOG_DIR=/opt/coin/logs