- Created a new .env.example file to provide a template for environment variables, including database connection details, JWT settings, encryption keys, and external API keys. - Updated .gitignore to include additional test output directories and archive files, ensuring that unnecessary files are not tracked by Git. - Removed outdated approval test reports and scripts that are no longer needed, streamlining the project structure. These changes improve the clarity of environment configuration and maintain a cleaner repository.
31 lines
1007 B
Plaintext
31 lines
1007 B
Plaintext
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
# ERP-node 환경변수 (.env.example)
|
|
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
#
|
|
# 사용법:
|
|
# cp .env.example .env
|
|
# 실제 값을 채워 넣으세요
|
|
#
|
|
# ⚠️ .env 파일은 절대 git에 커밋하지 마세요!
|
|
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
# DB 접속
|
|
DATABASE_URL=postgresql://postgres:YOUR_PASSWORD@YOUR_HOST:YOUR_PORT/YOUR_DB
|
|
|
|
# 인증
|
|
JWT_SECRET=your-jwt-secret-here
|
|
JWT_EXPIRES_IN=24h
|
|
|
|
# 암호화
|
|
ENCRYPTION_KEY=your-32-char-encryption-key-here
|
|
|
|
# 외부 API 키
|
|
KMA_API_KEY=your_kma_api_key
|
|
ITS_API_KEY=your_its_api_key
|
|
EXWAY_API_KEY=your_exway_api_key
|
|
BOK_API_KEY=your_bok_api_key
|
|
EXPRESSWAY_API_KEY=
|
|
|
|
# CORS (프로덕션용)
|
|
CORS_ORIGIN=http://localhost:9771
|