56 lines
2.3 KiB
Plaintext
56 lines
2.3 KiB
Plaintext
# Ontology Platform 환경변수 예시
|
|
# 실제 값을 채워 `.env`로 복사하여 사용 (`.env`는 .gitignore에 포함됨)
|
|
|
|
# ─── Phase 0: OntoCast Base ─────────────────────────────────────────
|
|
ONTOCAST_WORKING_DIRECTORY=./data/working
|
|
|
|
# LLM Provider (OpenAI 또는 Ollama)
|
|
LLM_PROVIDER=openai
|
|
LLM_MODEL_NAME=gpt-4o-mini
|
|
LLM_TEMPERATURE=0.0
|
|
LLM_API_KEY=
|
|
LLM_BASE_URL=
|
|
|
|
# ─── Server ─────────────────────────────────────────────────────────
|
|
PORT=8000
|
|
HOST=0.0.0.0
|
|
LOG_LEVEL=info
|
|
|
|
# ─── Phase 3: Guardrails (Hub/telemetry 비활성화 필수) ──────────────
|
|
# 통합설계서 §10 리스크: Guardrails Hub 외부 통신 차단
|
|
GUARDRAILS_DISABLE_TRACING=true
|
|
GUARDRAILS_DISABLE_HUB=true
|
|
|
|
# ─── Phase 4: Neo4j ─────────────────────────────────────────────────
|
|
NEO4J_URI=bolt://localhost:7687
|
|
NEO4J_AUTH=neo4j/changeme
|
|
NEO4J_DATABASE=neo4j
|
|
|
|
# ─── Phase 4: Fuseki (Canonical RDF) ────────────────────────────────
|
|
FUSEKI_URI=http://localhost:3030
|
|
FUSEKI_AUTH=admin:changeme
|
|
FUSEKI_DATASET=facts
|
|
FUSEKI_ONTOLOGIES_DATASET=ontologies
|
|
|
|
# ─── 운영 인프라 ────────────────────────────────────────────────────
|
|
# Postgres (메타데이터)
|
|
DATABASE_URL=postgresql+asyncpg://platform:changeme@localhost:5432/ontology_platform
|
|
|
|
# Redis (Job Queue + Cache)
|
|
REDIS_URL=redis://localhost:6379/0
|
|
|
|
# Object Storage (MinIO 로컬 / S3 운영)
|
|
S3_ENDPOINT_URL=http://localhost:9000
|
|
S3_ACCESS_KEY=minioadmin
|
|
S3_SECRET_KEY=minioadmin
|
|
S3_BUCKET_RAW=ontology-platform-raw
|
|
S3_BUCKET_ARTIFACTS=ontology-platform-artifacts
|
|
|
|
# ─── 운영 정책 ──────────────────────────────────────────────────────
|
|
# robots.txt 준수: strict / respect / ignore
|
|
ROBOTS_POLICY=respect
|
|
|
|
# 일일 LLM 호출 한도 (BudgetTracker)
|
|
DAILY_LLM_CALL_LIMIT=10000
|
|
DAILY_LLM_TOKEN_LIMIT=10000000
|