Commits
2026-09-15
refactor: 🧹 one source for the deployment defaults - the defaults (PORT, HOST, BACKEND_ORIGIN) are written once, in the image ENV block in Containerfile; server.ts now refuses to boot without them instead of carrying its own copies, so a stripped image fails loudly - compose healthcheck asks the container for PORT; the deploy gate and the verify step read the running container for the port instead of parsing a second copy out of the operator file - drop deploy/Containerfile.runtime: CI now builds the repo Containerfile, so there is no CI-only twin whose base image or ENV can drift - docs follow: knobs paragraph, env example and unit header describe overrides of the image defaults rather than fallbacks scattered across filesAhmet Kaan Gümüş · 6fd81aa
refactor: 🧹 one source for the deployment defaults - the defaults (PORT, HOST, BACKEND_ORIGIN) are written once, in the image ENV block in Containerfile; server.ts now refuses to boot without them instead of carrying its own copies, so a stripped image fails loudly - compose healthcheck asks the container for PORT; the deploy gate and the verify step read the running container for the port instead of parsing a second copy out of the operator file - drop deploy/Containerfile.runtime: CI now builds the repo Containerfile, so there is no CI-only twin whose base image or ENV can drift - docs follow: knobs paragraph, env example and unit header describe overrides of the image defaults rather than fallbacks scattered across files
chore: 🔧 podman compose stack and VPS deploy workflow - compose.yaml: one frontend service on loopback, knobs read from an external hezarfen_frontend.env (PORT moves the listener, the published port and the healthcheck together; BACKEND_ORIGIN moves the proxy target), no volumes - deploy/hezarfen_frontend.env.example: the operator-owned knobs file, written once by hand at 0600, never created or uploaded by the deploy - deploy/hezarfen_frontend_compose.service: systemd user unit that runs podman compose with both env files at boot and on restart - deploy/Containerfile.runtime: CI-only runtime image packing dist/ + server.ts, so the shipped image carries no source, node_modules or toolchain - .github/workflows/main.yml: typecheck in parallel with build-and-test (tsc, vitest, vite build, image tarball as the run artifact), then an SSH deploy that loads the image, rotates HEZARFEN_TAG in a deploy-owned stack.env, restarts the unit, and rolls back unless the new build serves the SPA shell - README: container and deploy sections, including the three SSH_* repo secrets and the loginctl enable-linger prerequisiteAhmet Kaan Gümüş · 70570e9
chore: 🔧 podman compose stack and VPS deploy workflow - compose.yaml: one frontend service on loopback, knobs read from an external hezarfen_frontend.env (PORT moves the listener, the published port and the healthcheck together; BACKEND_ORIGIN moves the proxy target), no volumes - deploy/hezarfen_frontend.env.example: the operator-owned knobs file, written once by hand at 0600, never created or uploaded by the deploy - deploy/hezarfen_frontend_compose.service: systemd user unit that runs podman compose with both env files at boot and on restart - deploy/Containerfile.runtime: CI-only runtime image packing dist/ + server.ts, so the shipped image carries no source, node_modules or toolchain - .github/workflows/main.yml: typecheck in parallel with build-and-test (tsc, vitest, vite build, image tarball as the run artifact), then an SSH deploy that loads the image, rotates HEZARFEN_TAG in a deploy-owned stack.env, restarts the unit, and rolls back unless the new build serves the SPA shell - README: container and deploy sections, including the three SSH_* repo secrets and the loginctl enable-linger prerequisite