docs: session close 2026-10-22 — Docker, metrics, auth-log, Task 6 (VTODO-create). feat: webui/radicale.py create/toggle_task, CalDAV REPORT, api endpoints. fix: login cookie (HTMX, method=post, stale cleanup). fix: SQLite WAL read-only mount.

This commit is contained in:
2026-10-23 18:49:13 +00:00
parent b34993402f
commit d52cb89098
47 changed files with 3992 additions and 5 deletions
+26
View File
@@ -0,0 +1,26 @@
# Email Assistant WebUI — постоянный запуск
# network_mode: host — контейнер видит host-сервисы (Ollama 127.0.0.1:11434,
# Radicale 127.0.0.1:5232) и слушает 10.8.0.2:8085 (WG bigbox).
# Caddy на vps01 проксирует mailagent.nixg.ru → 10.8.0.2:8085.
# Prometheus (bigbox, host network) скрейпит http://10.8.0.2:8085/metrics.
services:
email-webui:
build:
context: ..
dockerfile: webui/Dockerfile
container_name: email-webui
restart: unless-stopped
network_mode: host
env_file:
- ../.env # WEBUI_PASSWORD
environment:
- WEBUI_HOST=10.8.0.2
- WEBUI_PORT=8085
volumes:
- /opt/hermes/email:/opt/hermes/email # архив + mail_index.db (rw из-за sqlite WAL; код защищён PRAGMA query_only)
- ../radicale/.env:/opt/hermes/email-assistant/radicale/.env:ro
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"