Commit Graph
18 Commits
Author SHA1 Message Date
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