Commit Graph
116 Commits
Author SHA1 Message Date
adamfandClaude Opus 4.7 26a35719eb Add Open-WebUI service behind /openwebui/ admin gate
Deploy with Docker Compose / deploy (push) Successful in 13m13s
Co-Authored-By: Claude Opus 4.7 <[email protected]>
2026-04-30 15:51:27 +01:00
adamf 3844a32751 Big formatting spree
Deploy with Docker Compose / deploy (push) Successful in 3m50s
2026-04-29 09:06:41 +01:00
adamfandClaude Sonnet 4.6 2b5745b946 Move scroll animations to Rust/WASM, enable Hasura, and move bookmarks to home sidebar
Deploy with Docker Compose / deploy (push) Successful in 12m7s
Port AutoScroll and Headline scroll logic from Vue/JS to Rust compiled
to WASM via wasm-pack. Add multi-stage Docker build for WASM compilation,
Vite WASM plugins, and top-level await for WASM init. Enable Hasura
service in docker-compose. Move bookmarks from a separate route to an
inline sidebar component on the home page. Fix ToggleHeader click
propagation.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-04-14 16:34:24 +01:00
adamfandClaude Sonnet 4.6 cc6a423ef0 Add backend healthcheck and autoheal for automatic restart
Deploy with Docker Compose / deploy (push) Successful in 19s
Adds a Docker healthcheck to the backend service (polling GET / every 30s)
and the willfarrell/autoheal container to automatically restart any unhealthy containers.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-04-14 10:59:48 +01:00
adamfandClaude Opus 4.6 d344497393 Gate searxng, notes, and hasura behind admin auth via nginx auth_request
Deploy with Docker Compose / deploy (push) Has been cancelled
Add ValidateAdmin endpoint that checks JWT admin claim for use as an
nginx auth_request subrequest. Widen cookie path from backend endpoint
to "/" so the access_token is sent on all paths. Extend access token
lifetime from 24h to 7 days. Disable hasura service by default via
Docker profile.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-04-12 21:33:41 +01:00
adamfandClaude Opus 4.6 ee97ec9b23 Pin app-network subnet to match trusted proxy CIDR
Deploy with Docker Compose / deploy (push) Successful in 38s
Gin's trusted proxies list is hardcoded to 172.28.0.0/16, but Docker was
assigning the bridge network whatever subnet was free, so c.ClientIP()
often returned nginx's container IP instead of the real client.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-04-11 00:43:29 +01:00
adamfandClaude Opus 4.6 7afd1be81b Add Gitea entrypoint to generate app.ini from template on startup
Deploy with Docker Compose / deploy (push) Successful in 6s
Since app.ini is gitignored, the container needs to create it at
runtime. The entrypoint copies the template on first start, then
Gitea's env var overrides handle secrets.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-04-07 14:40:38 +01:00
adamfandClaude Opus 4.6 4edc5b1b22 Remove uptime-kuma and wallabag services, fix searxng base URL
Deploy with Docker Compose / deploy (push) Failing after 1s
Remove unused uptime-kuma and wallabag services from docker-compose,
nginx configs, and vite proxy. Use BASE_URL env var in searxng
settings template instead of hardcoded URL.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-04-07 13:37:24 +01:00
adamfandClaude Opus 4.6 d04496ad11 Remove gitea-runner service and related files
Deploy with Docker Compose / deploy (push) Waiting to run
Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-04-07 13:14:17 +01:00
adamfandClaude Opus 4.6 74f606459f Build gitea-runner with docker CLI installed natively
Deploy with Docker Compose / deploy (push) Waiting to run
Mounting host docker binary failed due to glibc/musl incompatibility.
Instead, extend the act_runner image and install docker-cli and
docker-cli-compose via apk.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-04-07 13:02:06 +01:00
adamfandClaude Opus 4.6 ce1a1ee757 Mount docker CLI and compose plugin into gitea-runner
Deploy with Docker Compose / deploy (push) Failing after 0s
The act_runner container had the Docker socket but not the docker
binary, so deploy workflow steps using docker compose failed.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-04-07 13:00:50 +01:00
adamf a967a249c2 Add base url to new containers
Deploy with Docker Compose / deploy (push) Failing after 0s
2026-04-07 12:57:16 +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
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 01adee7941 Revert quartz changes
Deploy with Docker Compose / deploy (push) Successful in 9s
2026-04-06 13:58:57 +01:00
adamf fa79fe9cdb Fix path
Deploy with Docker Compose / deploy (push) Successful in 9s
2026-04-06 13:46:36 +01:00
adamfandClaude Sonnet 4.6 b6623de23a Add Quartz service for serving Obsidian notes at /notes/
Deploy with Docker Compose / deploy (push) Successful in 2m28s
Replaces the custom Go/Vue notes system with Quartz v4, a polished
static site generator for Obsidian vaults. Mounts OBSIDIAN_DIR as the
Quartz content directory and serves it at /notes/ with hot-reload via
`npx quartz build --serve`.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-04-06 13:27:10 +01:00
adamfandClaude Opus 4.6 d215333128 Add admin UI for managing radio fallback music
Deploy with Docker Compose / deploy (push) Successful in 3m44s
Upload, list, and delete fallback music files from the admin page.
Backend handlers validate file type/size and prevent path traversal.
Nginx max body size increased to 50M to support large audio files.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-03-30 16:19:10 +01:00
adamfandClaude Opus 4.6 75cede3b1b Fix security vulnerabilities across backend, frontend, and infra
Deploy with Docker Compose / deploy (push) Successful in 4m44s
- Fix auth bypass in UpdatePost/DeletePost (missing return after auth check)
- Remove Spotify access token from callback response
- Replace internal error messages with generic responses in all handlers
- Harden GraphQL: complexity limit, disable playground/introspection in prod
- Add security headers (X-Frame-Options, HSTS, etc.) to nginx
- Disable Hasura console/dev mode in production
- Add DOMPurify sanitization to Markdown component
- Fix cookie removal to use correct domain/path from auth config
- Fix nil dereference in rowing handler when Claude API errors
- Fix wildcard CORS on stamp endpoint
- Pin nginx and certbot Docker image versions

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-03-29 23:59:10 +01:00
adamfandClaude Opus 4.6 091bfcaef6 Add Hasura GraphQL Engine container with nginx proxy
Deploy with Docker Compose / deploy (push) Successful in 1m31s
Adds Hasura v2.44.0 service connected to the existing Postgres database,
proxied through nginx at /hasura/ with WebSocket support for the console.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-03-29 20:06:19 +01:00
adamfandClaude Opus 4.6 d3d3269d49 Extract Vue frontend into separate container and add stp_wasm crate
Deploy with Docker Compose / deploy (push) Successful in 4m58s
Move Vue app from nginx/vue/ to top-level vue/ with its own Dockerfile,
update docker-compose configs and nginx proxy to serve from the new
container, and add initial Rust WASM crate (stp_wasm). Also fix .gitignore
to exclude Rust target/ directories.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-03-25 16:40:45 +00:00
adamfandClaude Opus 4.6 81cb2bc4b5 Move Gitea secrets to environment variables
Deploy with Docker Compose / deploy (push) Successful in 41s
Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-03-13 17:46:18 +00:00
adamf 469a225860 Add fallback music to icecast server
Deploy with Docker Compose / deploy (push) Has been cancelled
2026-03-10 12:58:53 +00:00
adamf d7b76e4742 open port 3000 for gitea runner
Deploy with Docker Compose / deploy (push) Failing after 2m36s
2026-03-09 17:55:10 +00:00
adamf 8e50537333 Get AI to fix vunerabilities in site
Deploy with Docker Compose / deploy (push) Has been cancelled
2026-03-09 14:12:29 +00:00
adamf 4c396ef30f Add file upload to website and integrate into chat
Deploy with Docker Compose / deploy (push) Has been cancelled
2026-03-09 13:47:38 +00:00
adamf 26c7422e34 adding gitea-runner service 2026-02-17 18:10:19 +00:00
adamf d849b606ec fix certbot env vars 2026-02-16 15:07:44 +00:00
adamf 46a9da4c90 gitea runner 2026-02-16 14:52:33 +00:00
adamf b506bae515 fix gitea 2026-02-16 13:57:28 +00:00
adamf 11ad0b5a83 reverse proxy to gitea 2026-02-16 13:21:11 +00:00
adamf 050a38a76f Merge branch 'main' of /home/adamf/repos/web_server 2026-02-16 12:56:23 +00:00
adamf bc43e9ed02 add gitea 2026-02-16 12:52:08 +00:00
adamf 5c69a1d0a7 adding gitea 2026-02-16 11:46:49 +00:00
adamf bf0022eb20 extra certbot container removed 2026-01-25 20:09:49 +00:00
adamf edfaf304cf fix nginx logs 2026-01-25 16:03:53 +00:00
adamf e384223f13 added backend logs 2026-01-18 10:34:31 +00:00
adamf 282a286958 adding nginx log volume 2026-01-18 08:57:25 +00:00
adamf 3e56b7b12f fixed file path 2026-01-12 16:06:06 +00:00
adamf 0a3c0dd8dd added obsidian api 2026-01-12 15:46:23 +00:00
adamf 59bc3d494f db volume for persistent storage 2025-12-10 06:24:22 +00:00
adamf 508b30f21b remove html and swapping to vue 2025-11-25 16:04:57 +00:00
adamf ae37643334 adding token to volume 2025-11-24 16:38:20 +00:00
adamf de9b80d3a4 added port sharing and add to network 2025-11-24 16:32:26 +00:00
adamf 077d69d44b rename 2025-11-24 16:29:22 +00:00
adamf 89e0c5b425 correct platform 2025-11-24 13:22:24 +00:00
adamf b0918d6499 new icecast image 2025-11-24 13:17:30 +00:00
adamf 4de50b4b3f adding icecast 2025-11-24 13:07:51 +00:00
adamf b5f72a9ada adding icecast radio 2025-11-24 12:57:23 +00:00
adamf d8ca109c45 removed need for DOMAIN_WWW and use www. instead 2025-11-21 12:50:57 +00:00