Commit Graph
22 Commits
Author SHA1 Message Date
adamfandClaude Opus 5.5 4533b55da0 Remove the Rust/WASM crate and its build step
Test and deploy / test (push) Successful in 26s
Test and deploy / deploy (push) Successful in 38s
Weekly Maintenance / maintenance (push) Successful in 2m38s
Nothing live used it: main.js awaited the wasm init() on every page load,
but the only consumer, components/util/wasm/AutoScroll.vue, was never
imported. Dropping it removes the rust:slim + wasm-pack stage from the vue
image, the two Vite plugins that existed only for it, and the src/wasm/
guard in `make check-vue`, so a fresh clone builds without a Rust toolchain.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-15 21:11:09 +01:00
adamfandClaude Opus 5.5 45d4aa6eb2 Stop pinning DOCKER_API_VERSION to 1.41 in CI
Test and deploy / deploy (push) Successful in 43s
Test and deploy / test (push) Successful in 27s
The pin let compose talk to the Pi's Docker 20.10. The host now runs
Docker 29 (API 1.56), so it only held compose to an old API.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-15 18:07:35 +01:00
adamfandClaude Opus 5.5 604ac32028 Remove the admin panel's Environment tab and env-apply
Test and deploy / test (push) Successful in 2m2s
Test and deploy / deploy (push) Successful in 1m35s
.env is edited by hand again. Drops the /admin/env endpoints, EnvManager
and its registry, the host-side apply.py watcher and its install script,
the backend's env-apply bind mount, and the Environment tab.

The deploy and maintenance workflows still serialise docker compose, now
on .compose.lock in the checkout instead of env-apply/run/lock.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-15 15:29:55 +01:00
adamfandClaude Opus 5.5 b832dd68b4 Gate deploys on tests and share the nginx route table
Makefile: make check runs the backend, Python, Vue and compose checks
that previously lived only in local notes.

deploy.yaml: a test job runs the backend and Python suites in containers
on every push, and deploy needs it. Deploy also refuses to run if main
has moved past the tested commit. maintenance.yaml takes the env-apply
lock around its compose steps, as deploy already did.

nginx: the 24 proxied locations that production and dev both carried now
live once in nginx_routes.conf.template, rendered by the entrypoint on
every boot path. The effective config is unchanged for both.

Remove the root package.json and lockfile, which nothing referenced.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-12 14:39:19 +01:00
adamfandClaude Opus 5.5 2786bce022 Manage .env from the admin panel
Add an Environment tab to /admin that lists every variable in .env.example
and lets keys, OAuth settings, email settings and generated secrets be
changed without SSH. Secrets are write-only; infrastructure variables are
shown read-only.

The backend never writes .env or touches Docker. It validates an edit and
queues it in env-apply/run/request.json; env-apply/apply.py, run on the host
by a systemd path unit (env-apply/install.sh), rewrites .env atomically,
keeps .env.bak, and recreates only the services that read the change.

backend/services/env_registry.json is the single list of variables, shared
by the backend and the host script; a test keeps it in step with
.env.example. It replaces the drifted checklist in handle_admin.go. The job
capture token card moves to the new tab.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-12 14:02:28 +01:00
adamf 64672dfdc8 Speed up deploy times
Deploy with Docker Compose / deploy (push) Successful in 5m30s
2026-08-18 17:27:48 +01:00
adamfandClaude Opus 4.7 09e991580c Add weekly maintenance workflow
Deploy with Docker Compose / deploy (push) Successful in 19m38s
Co-Authored-By: Claude Opus 4.7 <[email protected]>
2026-06-22 16:05:48 +01:00
adamfandClaude Opus 4.6 2e3d5f4dbe Use fetch+reset in deploy workflow to avoid merge conflicts
Deploy with Docker Compose / deploy (push) Successful in 48s
Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-04-07 13:40:08 +01:00
adamfandClaude Opus 4.6 bfefbb1d2a Skip SSH host key check for localhost in deploy workflow
Deploy with Docker Compose / deploy (push) Successful in 7s
Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-04-07 13:24:15 +01:00
adamfandClaude Opus 4.6 5d3c73d537 Fix deploy: use localhost instead of Docker-internal hostname for git pull
Deploy with Docker Compose / deploy (push) Has been cancelled
Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-04-07 13:23:32 +01:00
adamfandClaude Opus 4.6 4c8573767d Secure gitea-runner: remove tracked secrets, use SSH for deploy
Deploy with Docker Compose / deploy (push) Failing after 1s
- Untrack .runner (contains registration token), act_runner binary, and nohup.out
- Add gitea-runner sensitive files to .gitignore
- Auto-register runner from env var if .runner is missing
- Switch deploy workflow git pull from HTTP to SSH

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-04-07 13:19:45 +01:00
adamfandClaude Opus 4.6 68b9985d99 Use HTTP URL for git pull in deploy workflow
Deploy with Docker Compose / deploy (push) Failing after 0s
The act_runner container lacks SSH, so pull via HTTP using the
Docker network hostname instead of the named SSH remote.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-04-07 12:59:51 +01:00
adamfandClaude Sonnet 4.6 8a6e34dd69 Fix gitea-runner compatibility for deploy workflow
Deploy with Docker Compose / deploy (push) Failing after 1s
Mount the deploy directory at the same absolute path in the runner
container so docker compose bind mounts resolve correctly on the host
Docker daemon. Add git safe.directory config to avoid ownership errors
when the runner (root) operates on host-owned files.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-04-07 12:45:52 +01:00
adamf 54ab64c67d Remove CI-CD and use Deploy
Deploy with Docker Compose / deploy (push) Has been cancelled
2026-04-07 12:19:26 +01:00
adamfandClaude Sonnet 4.6 108f58e527 Add UptimeKuma, Searxng, Wallabag services
CI/CD / Deploy (push) Has been cancelled
CI/CD / Build Frontend (push) Has been cancelled
CI/CD / Build & Test Backend (push) Has been cancelled
Deploy with Docker Compose / deploy (push) Has been cancelled
- Add uptime-kuma, searxng, and wallabag Docker services with Postgres integration for wallabag
- Add nginx reverse proxy location blocks for /uptime-kuma/, /searxng/, /wallabag/ in both prod and dev templates
- Update entrypoint.sh envsubst to include new HOST/PORT vars
- Add Vite dev proxy entries for all three services
- Update gitea-runner config: add self-hosted label and allow all volumes
- Add Gitea CI/CD workflow

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-04-07 12:14:56 +01:00
adamf ad4d02228d Add prune to deploy
Deploy with Docker Compose / deploy (push) Has been cancelled
2026-03-10 13:56:57 +00:00
adamf cfdb5b4d50 Update .gitea/workflows/deploy.yaml
Deploy with Docker Compose / deploy (push) Successful in 3s
2026-02-18 16:38:06 +00:00
adamf 711236b776 fix actions
Deploy with Docker Compose / deploy (push) Successful in 2m35s
2026-02-18 16:21:52 +00:00
adamf 75454c2ed8 fix actions
Deploy with Docker Compose / deploy (push) Failing after 5s
2026-02-18 16:19:58 +00:00
adamf 78c824c4c8 remove mountpoint
Deploy with Docker Compose / deploy (push) Failing after 2m56s
2026-02-17 18:37:46 +00:00
adamf ba3b933068 remove mountpoint
Deploy with Docker Compose / deploy (push) Failing after 5s
2026-02-17 18:36:23 +00:00
adamf 14c430bbad adding gitea actions
Deploy with Docker Compose / deploy (push) Failing after 2s
2026-02-17 18:34:55 +00:00