Files
buryan-infra/ops/services/cards/memos.md
T

36 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# memos
| Параметр | Значение |
|---|---|
| Группа | knowledge |
| Критичность | normal |
| CT | 110 (office-lxc) |
| Порт | `5230` |
| Образ | `neosmemo/memos:stable` |
| Домен | `https://memo.buryans.ru` |
| Данные | `/opt/memos/data` (SQLite) |
| Единый вход | oauth2-proxy → Authentik |
## Что это
Быстрые заметки: мысль, ссылка, список — без открытия Gitea.
Режим `private`: первый вошедший становится владельцем.
## Как проверить
```bash
curl -s -o /dev/null -w '%{http_code}' http://192.168.1.110:5230/
curl -sk -o /dev/null -w '%{http_code}' https://memo.buryans.ru/
```
## Ловушки
1. **На хосте PVE не запускается**: `su-exec: setgroups: Operation not permitted`.
Только внутри CT110.
2. В CT110 нужен `DOCKER_API_VERSION=1.41` при `docker compose`.
## Бэкап
`vzdump` всей машины + `/opt/memos/data` в пофайловом бэкапе конфигов.