File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,35 @@ cd dodream
27272 . ** 환경 변수 설정**
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
31603 . ** MySQL 컨테이너 실행**
3261``` bash
Load diff This file was deleted.
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments