The READMEs, CLAUDE.md and todo.md still described Authentik, services removed long ago (Ghost, MMDL, Postiz, Pinchflat...) and two servers. Now they list the 24 services actually deployed (checked against docker ps), explain that netcup and docker-01 are one machine, document Gondulf, StarPunk, Listmonk, Gokapi and dockcheck, and use bin/deploy throughout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.4 KiB
1.4 KiB
Cron Role
Cron jobs on the server (tag cron). "Cron jobs" in this repo always means
jobs on the server, never on the machine running Ansible.
Jobs
| Time | User | Job |
|---|---|---|
| 08:00 daily | phil | ~/.local/bin/run_dockcheck.sh: container updates |
| 09:10 daily | root | /usr/local/bin/update_warhammer_feed.sh: Warhammer RSS feed |
Dockcheck (container updates)
- Downloads dockcheck and its Gotify
notify templates into
/home/phil/.local/bin/. - Templates
/home/phil/.config/dockcheck.configfromdockcheck.config.j2(Gotify token fromvault_dockcheck). - Settings:
OnlyLabel=trueandAutoMode=true, so containers labelledmag37.dockcheck.update=trueare pulled and recreated automatically; any other container with an update gets a Gotify notice.dawarich_dbanddawarich_redisare skipped. run_dockcheck.shlogs to/var/log/dockcheck/dockcheck.log.
To see what needs updating by hand, run dockcheck on the server:
ssh phil@100.70.169.99 '~/.local/bin/dockcheck.sh -n'
Warhammer RSS feed
update_warhammer_feed.sh runs the git.thesatelliteoflove.com/phil/rss-warhammer
container to build warhammer_rss_feed.xml and copies it to
/opt/stacks/caddy/site/tsol/feeds/, where Caddy serves it on the main site.
Adding a job
Add a cron task to tasks/main.yml (copy the script with copy first if it
needs one), then bin/deploy --tags cron.