From 5626e910377dab8f4360eb4c419d2b4a98c1e02d Mon Sep 17 00:00:00 2001 From: Heimdall Date: Mon, 30 Mar 2026 12:07:34 +0000 Subject: [PATCH] Add Outline wiki infrastructure doc --- infra/outline.md | 55 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 infra/outline.md diff --git a/infra/outline.md b/infra/outline.md new file mode 100644 index 0000000..73e818a --- /dev/null +++ b/infra/outline.md @@ -0,0 +1,55 @@ +--- +title: Outline Wiki +updated: 2026-03-30 +tags: [k3s, wiki, outline] +--- + +## 개요 + +Outline은 팀 위키/문서 관리 플랫폼. K3s 클러스터에 배포. + +| 항목 | 값 | +|------|-----| +| URL | https://outline.inouter.com | +| 네임스페이스 | outline | +| 이미지 | `outlinewiki/outline:0.82.0` | +| 인증 | Gitea OAuth2 (OIDC) | +| 기본 언어 | 한국어 | + +## 구성 요소 + +| 컴포넌트 | 설정 | +|-----------|------| +| DB | PostgreSQL 클러스터 (10.100.2.5:5432), DB명: outline, 유저: outline | +| Redis | outline-redis (outline 네임스페이스 내 전용) | +| 파일 저장소 | 로컬 (Longhorn PVC 5Gi, `/var/lib/outline/data`) | +| TLS (Traefik) | wildcard-inouter-tls (*.inouter.com) | +| TLS (CDN) | Let's Encrypt via BunnyCDN | +| CDN | BunnyCDN iron-kr 존 (ID 5555227, 쿠키 허용) | +| DNS | outline.inouter.com CNAME → iron-kr.b-cdn.net (Cloudflare, proxied OFF) | +| Ingress | Traefik IngressRoute (CRD) | + +## 인증 (Gitea OAuth2) + +| 항목 | 값 | +|------|-----| +| OIDC Provider | Gitea (gitea.inouter.com) | +| Client ID | cb804835-416c-4730-86b4-26d2c129b164 | +| Redirect URI | https://outline.inouter.com/auth/oidc.callback | +| OIDC Endpoints | authorize, access_token, userinfo (Gitea 표준) | +| Client Secret | Vault `secret/apps/outline` 참조 | + +## 시크릿 + +Kubernetes Secret: `outline-secrets` (outline 네임스페이스) +- SECRET_KEY, UTILS_SECRET, DATABASE_URL, REDIS_URL +- OIDC_CLIENT_ID, OIDC_CLIENT_SECRET, OIDC 엔드포인트들 + +## pgcat 연동 + +현재 pgcat 미사용 (직접 PostgreSQL 접속). 필요 시 pgcat pool 추가 가능. + +## MCP 연동 + +Outline MCP 서버 도입 시 헤임달이 직접 문서 CRUD 가능. +- 참고: https://github.com/Vortiago/mcp-outline