Files
stpweb/.deprecated
adamfandClaude Opus 5.5 31b84b06d4
Test and deploy / test (push) Successful in 21s
Test and deploy / deploy (push) Successful in 2s
Keep the pre-move Gitea in .deprecated/gitea as the rollback
The old stpvm service is kept as a compose override with its state
mounts pointed at .deprecated/gitea/, where the pre-move data now lives
(gitignored), so rolling back is one layered 'up' rather than a revert.

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

.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, gitea/docker-compose.yml) 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.
  • 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 gitea/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.