-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
53 lines (43 loc) · 1.84 KB
/
.env.example
File metadata and controls
53 lines (43 loc) · 1.84 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
# ===========================================
# WeGo-Together Backend Environment Variables
# ===========================================
# .env.example 파일을 복사하여 .env 파일을 생성하고
# 실제 값으로 수정하세요.
#
# cp .env.example .env
# ===========================================
# -------------------------------------------
# AWS RDS (MySQL Database)
# -------------------------------------------
# MySQL 데이터베이스 호스트 주소
RDS_ENDPOINT=your-rds-endpoint.rds.amazonaws.com
# 데이터베이스 사용자명
RDS_USER=your_database_user
# 데이터베이스 비밀번호
RDS_PASSWORD=your_database_password
# -------------------------------------------
# AWS S3 (이미지 저장소)
# -------------------------------------------
# S3 버킷의 퍼블릭 엔드포인트
S3_ENDPOINT=your-bucket.s3.ap-northeast-2.amazonaws.com
# AWS IAM Access Key ID
S3_ACCESS_KEY_ID=AKIAXXXXXXXXXXXX
# AWS IAM Secret Access Key
S3_SECURE_ACCESS_KEY=your_secret_access_key
# -------------------------------------------
# JWT (JSON Web Token)
# -------------------------------------------
# JWT 서명용 비밀키 (Base64 인코딩된 256비트 키)
# 생성 방법: openssl rand -base64 32
JWT_SECRET=your_base64_encoded_jwt_secret_key
# -------------------------------------------
# Google OAuth 2.0
# -------------------------------------------
# Google Cloud Console에서 발급받은 클라이언트 ID
# https://console.cloud.google.com/apis/credentials
GOOGLE_CLIENT_ID=your_google_client_id.apps.googleusercontent.com
# Google OAuth 클라이언트 시크릿
GOOGLE_CLIENT_SECRET=GOCSPX-your_google_client_secret
# OAuth 인증 완료 후 리다이렉트될 URI
# 프론트엔드 애플리케이션의 OAuth 콜백 URL
GOOGLE_REDIRECT_URI=http://localhost:3000/google-auth-test