Skip to content

Commit 2fad814

Browse files
committed
fix: application-dev.yml, application-prod.yml 깃에서 삭제
1 parent 26ca150 commit 2fad814

3 files changed

Lines changed: 29 additions & 83 deletions

File tree

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,35 @@ cd dodream
2727
2. **환경 변수 설정**
2828
프로젝트 루트에 `.env` 파일을 생성하고 다음 환경 변수들을 설정하세요:
2929

30+
```bash
31+
# Spring Profile
32+
SPRING_PROFILES_ACTIVE=dev
33+
34+
# Database Configuration
35+
DB_HOST=localhost
36+
DB_PORT=3306
37+
DB_NAME=dodream
38+
DB_USERNAME=root
39+
DB_PASSWORD=your_database_password
40+
41+
# Redis Configuration
42+
REDIS_HOST=localhost
43+
REDIS_PORT=6379
44+
45+
# Server Configuration
46+
SERVER_PORT=8080
47+
48+
# OAuth Configuration
49+
GOOGLE_CLIENT_ID=your_google_client_id_here
50+
GOOGLE_CLIENT_SECRET=your_google_client_secret_here
51+
NAVER_CLIENT_ID=your_naver_client_id_here
52+
NAVER_CLIENT_SECRET=your_naver_client_secret_here
53+
54+
# JWT Configuration
55+
JWT_SECRET=your_jwt_secret_here
56+
```
57+
58+
**중요**: `.env` 파일은 절대 Git에 커밋하지 마세요. 민감한 정보가 포함되어 있습니다.
3059

3160
3. **MySQL 컨테이너 실행**
3261
```bash

src/main/resources/application-dev.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

src/main/resources/application-prod.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)