docs: sync README, DEPLOY, CHANGELOG with tour fixes (canvg drop, non-root container, base pin)
This commit is contained in:
1 parent
86ac366136
commit
1078f74793
3 files changed
+17
-6
No files matched your search
@@ -5,7 +5,8 @@ TLS. The container serves a static SPA bundle from `/usr/share/nginx/html`
|
||||
and a runtime-injected `env.js`; there is no backend, no database, no
|
||||
persistent server-side state. Praticien data lives in the browser
|
||||
(`sessionStorage` / `localStorage`) and in the exported PDFs themselves
|
||||
(JSON attached natively to each PDF).
|
||||
(JSON attached natively to each PDF). The container runs entirely as a
|
||||
non-root `nginx` user — no process is root after the image is built.
|
||||
|
||||
---
|
||||
|
||||
@@ -13,7 +14,7 @@ persistent server-side state. Praticien data lives in the browser
|
||||
|
||||
| Service | Image source | Port (container) | Port (host) | Role |
|
||||
| ------- | ----------------------------------------- | ---------------- | --------------- | ----------------------------------------------------------------------------------- |
|
||||
| `app` | local build (multi-stage `Dockerfile`) | `${PORT:-8080}` | `${PORT:-8080}` | Serves the SPA (`dist/`) + runtime `env.js`. nginx:alpine inside, SPA fallback to `index.html`. |
|
||||
| `app` | local build (multi-stage `Dockerfile`) | `${PORT:-8080}` | `${PORT:-8080}` | Serves the SPA (`dist/`) + runtime `env.js`. `nginx:1.31-alpine` inside, runs as non-root `nginx` user, SPA fallback to `index.html`. |
|
||||
|
||||
The host should publish only ports `22`, `80`, `443` to the internet. The
|
||||
container port (`8080` by default) should stay loopback-only — the host
|
||||
@@ -34,7 +35,7 @@ each one explicitly.
|
||||
| `APP_BRAND_NAME` | yes | `Faunosteo` | Header brand block, PDF header. Praticien-visible identity. |
|
||||
| `APP_FOOTER_NAME` | yes | `Faunosteo` | Footer copyright line. |
|
||||
| `APP_TAGLINE` | yes | `Outils pour ostéopathes animaliers` | Hero tagline on Home. |
|
||||
| `PORT` | no | `8080` | Container listen port. Override to relocate the loopback bind. |
|
||||
| `PORT` | no | `8080` | Container listen port. Must be `>=1024` — the container runs as a non-root `nginx` user and cannot bind privileged ports. |
|
||||
|
||||
No secrets are required — there is no API, no DB, no provider credential.
|
||||
The `.env` file is not sensitive but should still be `chmod 600` to keep
|
||||
@@ -176,7 +177,7 @@ VPS is the path:
|
||||
```bash
|
||||
cd ~/faunosteo
|
||||
git fetch origin
|
||||
git reset --hard origin/master # default branch is "master" on this remote
|
||||
git reset --hard origin/main # default branch is "main" on this remote
|
||||
docker compose up --build -d
|
||||
docker image prune -f # reclaim old build layers
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user