-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenvExample
More file actions
33 lines (27 loc) · 847 Bytes
/
envExample
File metadata and controls
33 lines (27 loc) · 847 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
# 서버
SERVER_PORT=8080
BASE_URL=http://localhost:8080
# 데이터베이스
DB_URL=jdbc:mysql://localhost:3306/pventure
DB_USERNAME=root
DB_PASSWORD=your_db_secret_here
# JPA
JPA_DDL_AUTO=update
JPA_SHOW_SQL=true
HIBERNATE_DIALECT=org.hibernate.dialect.MySQLDialect
# OAuth
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
NAVER_CLIENT_ID=your_naver_client_id
NAVER_CLIENT_SECRET=your_naver_client_secret
KAKAO_CLIENT_ID=your_kakao_client_id
KAKAO_CLIENT_SECRET=your_kakao_client_secret
# Redis
REDIS_HOST=localhost
REDIS_PORT=6379
# JWT
JWT_SECRET=your_secure_random_secret_here
JWT_EXPIRATION=30
JWT_REFRESH_EXPIRATION=1440
# CORS (쉼표 구분)
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000,http://localhost:5173,http://127.0.0.1:5173,http://localhost:8000,http://127.0.0.1:8000