-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
95 lines (80 loc) · 3.14 KB
/
Copy path.env.example
File metadata and controls
95 lines (80 loc) · 3.14 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
# ========================================
# Seoul Fit 환경변수 템플릿
# ========================================
# 이 파일을 복사하여 .env.local, .env.dev, .env.prod 등으로 사용하세요
# 실제 값은 팀 리더나 DevOps 담당자에게 문의하세요
# ========================================
# Spring 프로파일 설정
# ========================================
SPRING_PROFILES_ACTIVE=local
# ========================================
# 데이터베이스 설정
# ========================================
DB_HOST=localhost
DB_PORT=5432
DB_NAME=urbanping
DB_USER=your_db_user
DB_PASSWORD=your_db_password_here
# H2 Database (개발용)
# H2_CONSOLE_ENABLED=true
# ========================================
# 서울시 공공데이터 API
# ========================================
# 발급: https://data.seoul.go.kr/
SEOUL_API_KEY=your_seoul_api_key_here
# ========================================
# OAuth 2.0 설정
# ========================================
# Kakao OAuth
# 발급: https://developers.kakao.com/
KAKAO_CLIENT_ID=your_kakao_client_id_here
KAKAO_CLIENT_SECRET=your_kakao_client_secret_here
KAKAO_REDIRECT_URI=http://localhost:8080/login/oauth2/code/kakao
# Google OAuth (선택사항)
GOOGLE_CLIENT_ID=your_google_client_id_here
GOOGLE_CLIENT_SECRET=your_google_client_secret_here
GOOGLE_REDIRECT_URI=http://localhost:8080/login/oauth2/code/google
# Naver OAuth (선택사항)
NAVER_CLIENT_ID=your_naver_client_id_here
NAVER_CLIENT_SECRET=your_naver_client_secret_here
NAVER_REDIRECT_URI=http://localhost:8080/login/oauth2/code/naver
# ========================================
# JWT 설정
# ========================================
# 최소 32자 이상의 안전한 시크릿 키 사용
JWT_SECRET=your_jwt_secret_key_minimum_32_characters_here
JWT_EXPIRATION=86400000 # 24시간 (밀리초)
JWT_REFRESH_EXPIRATION=604800000 # 7일 (밀리초)
# ========================================
# 알림 서비스 설정 (선택사항)
# ========================================
FCM_SERVER_KEY=your_fcm_server_key_here
FCM_PROJECT_ID=your_fcm_project_id_here
# ========================================
# AWS 설정 (운영 환경용)
# ========================================
AWS_ACCESS_KEY_ID=your_aws_access_key_here
AWS_SECRET_ACCESS_KEY=your_aws_secret_key_here
AWS_REGION=ap-northeast-2
AWS_S3_BUCKET=seoulfit-storage
# ========================================
# 모니터링 설정 (선택사항)
# ========================================
SENTRY_DSN=your_sentry_dsn_here
NEW_RELIC_LICENSE_KEY=your_new_relic_key_here
# ========================================
# 애플리케이션 설정
# ========================================
SERVER_PORT=8080
LOGGING_LEVEL=INFO
TZ=Asia/Seoul
# ========================================
# 배치 작업 설정
# ========================================
BATCH_ENABLED=true
SCHEDULER_ENABLED=true
# ========================================
# 기타 설정
# ========================================
# GEO_CSV_PATH=classpath:geo/seoul_comprehensive_regions.csv
# CORS_ALLOWED_ORIGINS=http://localhost:3000,https://seoulfit.com