RUNBOOK.md
58 lines · 1383 B · markdown
# Runbook
## Daily checks
```bash
docker compose ps
docker compose logs --since 1h --tail 100
./verify.sh
```
## Common problems
**Jitsi needs a hostname.** Video conferencing requires a real domain and TLS;
`localhost` will not work for participants joining from elsewhere. Set the
hostname in `.env` and put it behind a reverse proxy.
**Syncthing cannot see peers.** Ports 22000 and 21027 must be reachable. If
they are not, use a relay or run it over a VPN.
**BookStack login fails.** The default admin is created on first boot and the
credentials appear in the container logs. Change them immediately.
**Zulip first boot is slow.** It runs migrations for several minutes on first
start. That is expected, not a hang.
**Grist data loss.** Everything lives in the `grist_data` volume. Back it up
before upgrading - Grist migrations are not always reversible.
## Backups
```bash
docker run --rm -v lodestar_bookstack_data:/data -v "$PWD":/backup \
alpine tar czf /backup/bookstack-$(date +%F).tgz -C /data .
```
Stop the service before backing up.
## Sizing
| Setup | Minimum |
|---|---|
| Notes and tasks | 2 GB RAM |
| Adding files and diagrams | 4 GB RAM |
| Adding chat | 8 GB RAM |
| Adding video | 8 GB+ with a real domain |
## Services in this tier
- `bookstack`
- `kanboard`
- `grist`
- `drawio`
- `syncthing`
- `filebrowser`
- `zulip`
- `jitsi`
- `actual`