mirror of
https://gitverse.ru/kpa39l/email-assistant.git
synced 2026-11-27 06:30:08 +00:00
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:
@@ -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"
|
||||
Reference in New Issue
Block a user