docs: align project guides and contributor instructions with current source

This commit is contained in:
Alvin-Zilverstand committed 2026-11-10 08:52:43 +01:00
1 parent 846054b7b9
commit 76a4db6a9e
6 files changed
+235 -105

No files matched your search

+8 -2
View File
@@ -1,5 +1,7 @@
# Proxmox Docker hosting
Configuration reviewed 10 November 2026. These instructions describe the checked-in configuration; a live deployment has not been verified. See [verification](verification.md).
Use a Linux guest with Docker Engine and the Docker Compose plugin installed. Copy this repository to the guest, or clone it after committing and pushing your changes. From the repository directory:
```sh
@@ -54,12 +56,16 @@ From the proxy box, verify `curl -f http://192.168.1.50:8080/healthz` returns `o
## Updates
Edit the JSON source files locally, then sync the changed files to the guest, including removing deleted project files. With Git, commit/push locally and pull on the guest. Apply updates with:
Edit the JSON source files locally, run `npm test` and `npm run build`, then commit the JSON and generated `content.js` together and push. On the guest, keep local configuration in ignored `.env` and update a clean checkout with `git pull --ff-only`. If pulling fails because of local changes or divergent history, resolve that before rebuilding. Git also removes project files deleted upstream. Apply updates from the repository root with:
```sh
docker compose up -d --build
docker compose ps
curl -f http://127.0.0.1:8080/healthz
```
The health command above uses the default binding. If `.env` binds to the guest's LAN IP or changes the port, use that address and port instead. A push alone does not rebuild or deploy the site; there is no deployment automation in this repository.
Restarting alone does not import edited content; the files are baked into the image. Keep and back up the source checkout. Do not edit inside the container. To refresh base images, run `docker compose build --pull`, then `docker compose up -d`.
## Operations and exposure
@@ -74,4 +80,4 @@ The container runs as the Nginx user with a read-only filesystem, dropped Linux
The health check expects `/healthz` to return `ok`. The restart policy handles process exits; an unhealthy status alone does not restart the container. Compose settings follow the [Docker service reference](https://docs.docker.com/reference/compose-file/services/).
Local content tests, static build and Compose configuration validation passed. The container could not be built or run locally because the Docker engine was unavailable. Nothing has been deployed to Proxmox.
On 10 November 2026, all six local tests, the static build and `docker compose config --quiet` passed. The Docker engine was unavailable, so image build, runtime health, proxy access and Proxmox deployment remain unverified. Configuration validation alone does not prove that the container can start.