2026-05-19 22:46:40 +02:00
|
|
|
# Operations
|
2026-05-19 22:28:01 +02:00
|
|
|
|
2026-05-19 22:46:40 +02:00
|
|
|
## Change config and deploy
|
2026-05-19 22:28:01 +02:00
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
cd /root/lakehouse
|
2026-05-19 22:46:40 +02:00
|
|
|
# Edit config/homepage/*.yaml or rss-proxy/server.py
|
|
|
|
|
git add -A && git commit -m "description" && git push origin master
|
2026-05-19 22:28:01 +02:00
|
|
|
|
2026-05-19 22:46:40 +02:00
|
|
|
# Reload homepage
|
2026-05-19 22:28:01 +02:00
|
|
|
docker exec homepage wget -qO- http://127.0.0.1:3000/api/revalidate
|
|
|
|
|
|
2026-05-19 22:46:40 +02:00
|
|
|
# Rebuild RSS proxy
|
2026-05-19 22:28:01 +02:00
|
|
|
docker compose -f deploy/docker-compose.homepage.yml build rss-proxy
|
|
|
|
|
docker compose -f deploy/docker-compose.homepage.yml up -d rss-proxy
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Logs
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
docker logs -f homepage
|
|
|
|
|
docker logs -f rss-proxy
|
|
|
|
|
docker logs -f superset
|
|
|
|
|
```
|
|
|
|
|
|
2026-05-19 22:46:40 +02:00
|
|
|
Application logs are outside git: `config/homepage/logs/` (see `.gitignore`).
|
2026-05-19 22:28:01 +02:00
|
|
|
|
2026-05-19 22:46:40 +02:00
|
|
|
## Refresh container inventory
|
2026-05-19 22:28:01 +02:00
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
./scripts/deploy/export-inventory.sh
|
|
|
|
|
git add inventory/ && git commit -m "chore: refresh container inventory"
|
|
|
|
|
```
|
|
|
|
|
|
2026-05-19 22:46:40 +02:00
|
|
|
## Restart full docker01 stack
|
2026-05-19 22:28:01 +02:00
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
./scripts/deploy/deploy-atc-docker01.sh
|
|
|
|
|
```
|
|
|
|
|
|
2026-05-19 22:46:40 +02:00
|
|
|
## SSH between hosts
|
2026-05-19 22:28:01 +02:00
|
|
|
|
2026-05-19 22:46:40 +02:00
|
|
|
```bash
|
|
|
|
|
ssh -i /root/.ssh/atc_cluster root@atc-lake01
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
See [ssh-mesh.md](ssh-mesh.md).
|
|
|
|
|
|
|
|
|
|
## Git on the server
|
|
|
|
|
|
|
|
|
|
Clone lives at `/root/lakehouse` on `atc-docker01`. Use your Forgejo credentials to push to `atc-mgt01`.
|