- Integrate ollama + ai-gateway into root docker-compose.yml (NVIDIA GPU runtime, single compose for all services) - Change NAS mount from SMB (NAS_SMB_PATH) to NFS (NAS_NFS_PATH) Default: /mnt/nas/Document_Server (fstab registered on GPU server) - Update config.yaml AI endpoints: primary → Mac mini MLX via Tailscale (100.76.254.116:8800) fallback/embedding/vision/rerank → ollama (same Docker network) gateway → ai-gateway (same Docker network) - Update credentials.env.example (remove GPU_SERVER_IP, add NFS path) - Mark gpu-server/docker-compose.yml as deprecated - Update CLAUDE.md network diagram and AI model config - Update architecture.md, deploy.md, devlog.md for GPU server as main - Caddyfile: auto_https off, HTTP only (TLS at upstream proxy) - Caddy port: 127.0.0.1:8080:80 (localhost only) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
50 lines
1.6 KiB
Plaintext
50 lines
1.6 KiB
Plaintext
# ═══════════════════════════════════════════════════
|
|
# hyungi_Document_Server — 인증 정보 템플릿
|
|
# 실제 값을 채워서 credentials.env로 저장
|
|
# ═══════════════════════════════════════════════════
|
|
|
|
# ─── PostgreSQL ───
|
|
POSTGRES_HOST=localhost
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_DB=pkm
|
|
POSTGRES_USER=pkm
|
|
POSTGRES_PASSWORD=
|
|
|
|
# ─── AI: Mac mini MLX (Tailscale 경유, Qwen3.5 기본 모델) ───
|
|
MLX_ENDPOINT=http://100.76.254.116:8800/v1/chat/completions
|
|
MLX_MODEL=mlx-community/Qwen3.5-35B-A3B-4bit
|
|
|
|
# ─── AI: Claude API (종량제, 복잡한 분석 전용) ───
|
|
CLAUDE_API_KEY=
|
|
|
|
# ─── AI Gateway (같은 Docker 네트워크) ───
|
|
AI_GATEWAY_ENDPOINT=http://ai-gateway:8080
|
|
|
|
# ─── NAS (NFS 마운트) ───
|
|
NAS_NFS_PATH=/mnt/nas/Document_Server
|
|
NAS_DOMAIN=ds1525.hyungi.net
|
|
NAS_TAILSCALE_IP=100.101.79.37
|
|
NAS_PORT=15001
|
|
|
|
# ─── Synology MailPlus (이메일 수집 + SMTP 알림) ───
|
|
MAILPLUS_HOST=mailplus.hyungi.net
|
|
MAILPLUS_PORT=993
|
|
MAILPLUS_SMTP_PORT=465
|
|
MAILPLUS_USER=hyungi
|
|
MAILPLUS_PASS=
|
|
|
|
# ─── Synology Calendar (CalDAV, 태스크 관리) ───
|
|
CALDAV_URL=https://ds1525.hyungi.net/caldav/
|
|
CALDAV_USER=hyungi
|
|
CALDAV_PASS=
|
|
|
|
# ─── kordoc 마이크로서비스 ───
|
|
KORDOC_ENDPOINT=http://kordoc-service:3100
|
|
|
|
# ─── 인증 (JWT + TOTP) ───
|
|
JWT_SECRET=
|
|
TOTP_SECRET=
|
|
|
|
# ─── 국가법령정보센터 (법령 모니터링) ───
|
|
LAW_OC=
|