- Backfill `created` frontmatter on 266 active notes (git date or mtime) - Normalize `status` to 4 values: draft/active/done/archived (11 notes) - Active/进行中/needs-review → active - archive → archived - 待执行/conditional → draft - 完成/accepted → done - Declare clipper boundary: 04_Archive/Inbox-Clippings/** exempt from migration - Update depth rule: max 3 → max 4 levels (new notes only) - Add metadata-converge.mjs script for reproducibility
40 lines
849 B
Markdown
40 lines
849 B
Markdown
---
|
|
created: 2026-01-05
|
|
---
|
|
|
|
compose.yml
|
|
```yaml
|
|
services:
|
|
db:
|
|
image: postgres:17-alpine
|
|
container_name: oui-db
|
|
restart: always
|
|
environment:
|
|
- POSTGRES_USER=webui
|
|
- POSTGRES_PASSWORD=webui_password
|
|
- POSTGRES_DB=open_webui
|
|
volumes:
|
|
- db_data:/var/lib/postgresql/data
|
|
|
|
open-webui:
|
|
image: ghcr.io/open-webui/open-webui:main
|
|
container_name: oui
|
|
restart: always
|
|
ports:
|
|
- "3000:8080"
|
|
depends_on:
|
|
- db
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
environment:
|
|
- 'DATABASE_URL=postgresql://webui:webui_password@db:5432/open_webui'
|
|
- 'OPENAI_API_BASE_URL=http://host.docker.internal:4000/v1'
|
|
- 'OPENAI_API_KEY=sk-1234'
|
|
- 'WEBUI_SECRET_KEY=super_secret_key'
|
|
volumes:
|
|
- oui_data:/app/data
|
|
|
|
volumes:
|
|
db_data:
|
|
oui_data:
|
|
``` |