Commit graph

273 commits

Author SHA1 Message Date
Philip Peterson
751b7629e4 fix atitraining 400 bad request from duplicate proxy headers
nginx sent Host/X-Real-IP/X-Forwarded-For/X-Forwarded-Proto twice
(explicit proxy_set_header plus the included recommended-proxy-headers
file), which Apache rejected as a malformed request due to the
duplicate Host header. Removed the redundant explicit headers.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-06-30 20:56:54 -07:00
Philip Peterson
c814379f7c fix wordpress 2026-06-28 21:11:16 -07:00
Philip Peterson
6ab901d11f add Ollama with qwen2.5-coder:1.5b for local LLM inference
Adds the ollama/ollama container on port 11434, a persistent model
store at /var/ollama, and a oneshot service that pulls the model on
first boot. Opens port 11434 in the firewall.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-28 20:12:56 -07:00
Philip Peterson
3ace2e661b add wordpress 2026-06-25 21:43:10 -07:00
Philip Peterson
03a4a1a7ef tweak SAN 2026-06-25 03:26:19 -07:00
Philip Peterson
f10ebc4e77 Chmod 2026-06-25 01:46:57 -07:00
Philip Peterson
06afcbb818 Remove askpass 2026-06-25 01:37:26 -07:00
Philip Peterson
fe92602302 wip 2026-06-25 01:33:30 -07:00
Philip Peterson
a033dc46fe postgres: enable SSL with self-signed cert
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-25 01:28:53 -07:00
Philip Peterson
034e422797 Use postgres hosted 2026-06-23 02:40:51 -07:00
Philip Peterson
51042197ba Add openai creds 2026-06-20 09:39:19 -07:00
Philip Peterson
a8cca03c0e openclaw: switch to built-in Workbench, drop control-center container
The openclaw package bundles a Control UI (Workbench) served directly
at the gateway port. Drop the separate openclaw-control-center app
container and point nginx at port 18789 instead of 4310. Added
X-Forwarded-Proto/For headers so the gateway can see the real client
address through nginx.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-14 04:13:27 -07:00
Philip Peterson
67bf9d18bc docs: add OpenClaw section to CLAUDE.md
Documents the two-container setup, volume/auth gotchas, nginx SSL
configuration, control center startup sequence, and usage connector
source status.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-14 04:09:46 -07:00
Philip Peterson
671ff1d774 openclaw: fix app container mount so CLI probes can connect to gateway
Remove :ro from the .openclaw volume so the CLI can write state files
on startup (it was crashing immediately with EROFS). Add
OPENCLAW_GATEWAY_TOKEN so the CLI bypasses the device identity
handshake when auth=none, allowing the gateway reachability probe to
succeed before the device is auto-approved.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-14 04:00:03 -07:00
Philip Peterson
aee8dbda75 openclaw: mount gateway node_modules into control center for CLI access
Control center runs 'openclaw status --json' as a subprocess to probe
the gateway. Mount the gateway install volume and set OPENCLAW_BIN_PATH
so the control center can find the binary.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-14 03:45:28 -07:00
Philip Peterson
2971282c45 openclaw: use --dev --auth none for gateway startup
Newer openclaw (2026.6.6) requires more config than our minimal json.
--dev creates a working config if missing, --auth none skips token
auth since the gateway is loopback-only.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-14 03:36:21 -07:00
Philip Peterson
64672a1cde openclaw: add gateway as separate host-network container
Gateway runs in its own node:22-alpine container with host networking,
installs openclaw@latest on first boot (persisted to /var/openclaw/gateway).
Control center also switches to host networking so ws://127.0.0.1:18789
reaches the gateway's loopback. UI_BIND_ADDRESS locked to 127.0.0.1.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-14 03:30:13 -07:00
Philip Peterson
45d673c292 openclaw: default to English and add basic auth
- Patch app source at startup to change default language from zh to en
- Add basicAuth (ironmagma) to nginx vhost for claw.quineglobal.com

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-14 03:13:31 -07:00
Philip Peterson
2a2c524d16 fix claw.quineglobal.com redirect loop: forceSSL -> addSSL
Cloudflare is in Flexible SSL mode so it hits our origin over HTTP.
forceSSL was causing an infinite HTTP->HTTPS redirect loop. Switch to
addSSL so HTTPS still works for direct connections while HTTP serves
normally through Cloudflare.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-14 03:00:09 -07:00
Philip Peterson
1f9b202109 fix openclaw binding to 0.0.0.0 so port forwarding works in container
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-14 02:45:16 -07:00
Philip Peterson
56bb66c0b7 update 2026-06-14 02:33:18 -07:00
Philip Peterson
b4d9f3d619 fix digests 2026-06-14 02:21:20 -07:00
Philip Peterson
323d65e2a3 enable claw 2026-06-11 23:23:10 -07:00
Philip Peterson
183e1875e1 prune 2026-06-11 23:22:42 -07:00
Philip Peterson
75006dab18 wrapper access 2026-06-11 22:37:48 -07:00
Philip Peterson
7f519f804b disable claw 2026-06-10 14:25:43 -07:00
Philip Peterson
19b9844881 Replace vnc-desktop container with native novnc service, add claw.quineglobal.com
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-10 13:58:17 -07:00
Philip Peterson
26d4bcc857 Add openclaw control center as arion service
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-10 13:25:30 -07:00
671f7b5117 Wip 2026-06-08 04:05:28 -08:00
0a820b8e66 better auth 2026-06-08 04:00:29 -08:00
772c6c59a8 bump 2026-06-08 03:57:45 -08:00
Philip Peterson
b443162f0c encrypt 2026-06-08 04:49:55 -07:00
d383b9abc3 bump 2026-06-06 00:51:58 -08:00
Philip Peterson
f0209fbdc8 Add WebSocket proxy headers to paperless nginx vhost
Paperless-ngx uses WebSockets to push task completion status to the
browser. Without Upgrade/Connection headers the UI hangs indefinitely
after upload while waiting for the done notification.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05 23:26:15 -07:00
Philip Peterson
047c4b2207 Fix paperless nginx: remove duplicate proxy_set_header directives
recommendedProxySettings already injects Host, X-Real-IP, X-Forwarded-*
via an include in the location block. Our explicit extraConfig set them
again, causing Django to receive 'host,host' and reject with DisallowedHost.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05 23:20:27 -07:00
Philip Peterson
3fea6dddd7 Merge branch 'main' of github.com:philip-peterson/petersweb-infra 2026-06-05 22:58:26 -07:00
Philip Peterson
dd4a80e034 Install paperless 2026-06-05 22:58:17 -07:00
5a14d56cd2 add secret 2026-06-05 21:58:03 -08:00
07573489df bump 2026-06-04 23:13:29 -08:00
0776104f40 bump 2026-06-04 22:42:07 -08:00
f59200a349 bump 2026-06-04 22:10:40 -08:00
bbdd562af3 bump 2026-06-04 21:59:15 -08:00
Philip Peterson
85b8479e44 fix secrets 2026-06-04 22:12:55 -07:00
Philip Peterson
f5c350dbf8 Fix 2026-06-04 20:39:29 -07:00
Philip Peterson
4b88ae2a68 use nginx 2026-06-04 19:37:11 -07:00
Philip Peterson
e3f91306f7 add arion 2026-06-04 19:20:57 -07:00
772663f9e3 bump 2026-06-03 23:16:33 -08:00
be6fc41d2e bump 2026-06-03 23:11:36 -08:00
5fa3781b5c bump 2026-06-03 22:09:44 -08:00
3b5d31277a bump 2026-06-03 01:15:34 -08:00