Files
sundol/.env.sample
joungmin 3d2aa6cf46 Add backend/frontend scaffolding with Oracle ADB wallet config
- Backend: Spring Boot 3 + WebFlux, JWT auth, Oracle ADB wallet,
  8 controllers/services/repositories (Auth~Tag), DTOs, exception handling
- Frontend: Next.js 15, TypeScript, Tailwind CSS, AuthContext,
  7 pages (dashboard, knowledge, chat, study, todos, habits, login)
- DB: V1 migration with 12 tables including VECTOR(1024) + HNSW index
- Ops: PM2 ecosystem config, deploy.sh, start-backend.sh
- CLAUDE.md: DB credentials replaced with env var references

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 06:56:26 +00:00

58 lines
1.2 KiB
Plaintext

# ============================================
# SUNDOL Environment Variables
# Copy this file to .env and fill in values
# cp .env.sample .env
# ============================================
# ---------------------
# Database (Oracle ADB)
# ---------------------
ORACLE_WALLET_PATH=/path/to/wallet
ORACLE_TNS_NAME=dbdf0q9672liizzd_medium
ORACLE_USERNAME=admin
ORACLE_PASSWORD=
# ---------------------
# JWT
# ---------------------
JWT_SECRET=
JWT_ACCESS_TOKEN_EXPIRY=900000
JWT_REFRESH_TOKEN_EXPIRY=604800000
# ---------------------
# Server
# ---------------------
SERVER_PORT=8080
CORS_ORIGIN=http://localhost:3000
# ---------------------
# Google OAuth
# ---------------------
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# ---------------------
# OCI GenAI
# ---------------------
OCI_COMPARTMENT_ID=
OCI_REGION=ap-seoul-1
# ---------------------
# YouTube (optional)
# ---------------------
YOUTUBE_API_KEY=
# ---------------------
# Redis
# ---------------------
REDIS_HOST=localhost
REDIS_PORT=6379
# ---------------------
# Frontend (Next.js)
# ---------------------
NEXT_PUBLIC_API_URL=http://localhost:8080
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=
API_URL=http://localhost:8080