Files
stpweb/.deprecated/README.md
T
adamfandClaude Opus 5.5 bb83c6bb03
Test and deploy / test (push) Successful in 21s
Test and deploy / deploy (push) Successful in 13s
Move gitea/ to its own repo, adamf/stpgit
The Gitea LXC's compose file, entrypoint, app.ini template and env example
now live in adamf/stpgit, which the LXC checks out instead of this repo.
What stays here is stpvm's side: the haproxy forwarder, renamed to
gitea-forwarder/haproxy.cfg, and a copy of the entrypoint in
.deprecated/gitea/ so the stpvm rollback does not depend on the new repo.
Renovate now also covers adamf/stpgit, and the docs point there.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 16:52:55 +00:00

3.6 KiB

.deprecated

STATUS: nothing in here is live. No compose file, Caddyfile or script references this directory. It is kept, not deleted, in line with the repo's "legacy is kept" convention; the full history is also in git.

quartz/

The static-site build that used to serve /notes/. Replaced by the read-only silverbullet-public service (PR #6). Its compose service and nginx route were removed at that point; only the build context survives here.

hasura/

Admin-only DB console that was proxied at /hasura/.

  • docker-compose.hasura.yml — the service, verbatim.
  • nginx-locations.conf — the upstream variable and location blocks that were in both nginx.conf.template and nginx_dev_common.conf.template.

To bring it back: layer the compose file (docker compose -f docker-compose.yml -f .deprecated/hasura/docker-compose.hasura.yml up), paste the nginx blocks back into both templates, re-add ${HASURA_HOST} ${HASURA_PORT} to ENVSUBST_VARS in nginx/entrypoint.sh, and set HASURA_HOST, HASURA_PORT and HASURA_GRAPHQL_ADMIN_SECRET in .env. Dev mode additionally set HASURA_GRAPHQL_ENABLE_CONSOLE and HASURA_GRAPHQL_DEV_MODE to "true".

autoheal/

Watchdog that restarted any container docker marked unhealthy (only backend and python define healthchecks). It mounts the docker socket, which is effectively root on the host. To bring it back, layer docker-compose.autoheal.yml the same way as above.

Since 2026-10-19 it is back in docker-compose.yml, watching only containers labelled autoheal=true (caddy; nginx until 2026-11-17). This copy is the old all variant, kept for reference.

nginx/ and certbot/

The public edge until 2026-11-17, when Caddy (caddy/) replaced both: nginx/ is the image (three templates chosen at start by entrypoint.sh, the shared route table, the payload log and security-header includes), and certbot/entrypoint.sh obtained and renewed the certificate that nginx reloaded through a sentinel file. Their compose services were removed in daa2a46. The last certbot certificate is still in ./certbot/conf on the host, valid until 2027-01-20.

To bring them back: revert the commit that moved them here and then daa2a46; DEPLOYMENT.md §7 ("Roll back to nginx") has the commands.

gitea/

Gitea as it ran inside this stack on stpvm until 2026-11-24, when it moved to its own Proxmox LXC (stpgit, run from the adamf/stpgit repo) and stpvm's gitea service became a forwarder to it.

  • docker-compose.gitea.yml — the old service, with its state mounts repointed at this directory.
  • entrypoint.sh — its app.ini-seeding wrapper, copied here when gitea/ moved to its own repo, so the rollback does not depend on that repo.
  • data/ and config/app.ini (gitignored, on stpvm only) — the pre-move copy of the repositories and the live config, moved here from gitea/. Gitea's pre-move database is still the gitea database in stpvm's db.

To bring it back on stpvm: stop Gitea on stpgit, copy anything pushed since the move back (its data/, and a pg_dump of gitea-db restored into db's gitea database), then docker compose -f docker-compose.yml -f .deprecated/gitea/docker-compose.gitea.yml up -d gitea. The service still reads POSTGRES_GITEA_DB and the three GITEA_* secrets from .env; stpvm's .env still has them, so keep them there until this copy is deleted. Delete data/, config/app.ini and the old database once the LXC has run cleanly for a few weeks (from about 2026-12-08).

The laptop's own leftovers (an old dev gitea/data and app.ini, and a stale gitea-runner/.runner) are under dev-leftovers/ here, also gitignored, and can simply be deleted.