-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.dev.example
More file actions
59 lines (50 loc) · 1.62 KB
/
.env.dev.example
File metadata and controls
59 lines (50 loc) · 1.62 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
# ===========================================
# Development Server Environment (EC2 Dev)
# ===========================================
# 사용법:
# cp .env.dev.example .env.dev
#
# [EC2 서버에서]
# docker compose --env-file .env.dev -f docker/docker-compose.dev.yml up -d --build
#
# [로컬에서 모바일 앱 실행 - EC2 API 연결]
# pnpm dev:mobile
# ===========================================
# Frontend Apps (Admin, Mobile)
# ===========================================
# Admin: Vercel Preview 환경변수에서 설정
# Mobile: EAS Build 환경변수에서 설정
NEXT_PUBLIC_API_URL=http://your-dev-ec2-ip/api
EXPO_PUBLIC_API_URL=http://your-dev-ec2-ip/api
# ===========================================
# API Server
# ===========================================
# Database (Docker 내부 연결)
POSTGRES_USER=postgres
POSTGRES_PASSWORD=dev_secure_password_change_me
POSTGRES_DB=travel_helper
# JWT (개발서버용 - 반드시 변경!)
JWT_SECRET=dev-server-secret-key-change-this-32chars
JWT_REFRESH_SECRET=dev-server-refresh-secret-change-32chars
JWT_EXPIRES_IN=15m
JWT_REFRESH_EXPIRES_IN=7d
# CORS (개발 프론트엔드 도메인)
# Vercel Preview + 로컬 테스트
CORS_ORIGIN=http://localhost:3001,https://*.vercel.app
# AI Service
AI_PROVIDER=groq
AI_SERVICE_URL=http://your-ai-service-url:8000
GROQ_API_KEY=gsk_your_groq_api_key
# Queue
QUEUE_PROVIDER=sync
# AWS
AWS_REGION=ap-northeast-2
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_SQS_QUEUE_URL=
AWS_S3_BUCKET=
# External APIs
EXCHANGE_RATE_API_URL=https://api.exchangerate-api.com/v4/latest
# Social Login (선택)
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=