65746db9d2
- git mv docker-compose*.yml -> compose*.yml, Dockerfile -> Containerfile (podman-compose picks compose.yml; buildah finds Containerfile first) - compose/compose.dev: x-podman.name_separator_compat (dash container names), explicit app/web healthchecks (OCI export drops image HEALTHCHECK, depends_on service_healthy would hang forever), fixed subnet 10.113.0.0/24 gw 10.113.0.1 for the aardvark-dns resolver - gateway/nginx.conf: resolver + proxy_pass via variables (static proxy_pass resolves once at start; podman-restart.service brings gateway up before app -> dead upstream, 502 until manual restart) - Containerfiles: pin base images to docker.io/library/* (no unqualified-search-registries on hosts), truthful buildah proxy comments - comments/docs: Docker HEALTHCHECK -> container HEALTHCHECK; READMEs, AGENTS.md updated for podman/podman-compose Verified on dev (podman 5.7.0, podman-compose 1.5.0): stack up with dash names, app/web healthy, conversion through gateway returns PDF, gateway survives app container restart without restart (resolver).
23 lines
686 B
Markdown
23 lines
686 B
Markdown
# wordpdf-web
|
|
|
|
SPA-фронт конвертера Word → PDF: React 19 + TypeScript + Vite + Tailwind CSS v4.
|
|
В Maven-сборку не входит; деплоится отдельным nginx-контейнером (см.
|
|
`Containerfile`/`nginx.conf` и корневой `compose.yml`).
|
|
|
|
## Dev
|
|
|
|
```bash
|
|
npm install
|
|
npm run dev # http://localhost:5173, /api проксируется на :8080
|
|
```
|
|
|
|
Бэкенд для dev: `java -jar ../wordpdf-app/target/wordpdf-app-1.0.0.jar`.
|
|
|
|
## Сборка
|
|
|
|
```bash
|
|
npm run build # tsc -b && vite build → dist/
|
|
```
|
|
|
|
UI-тестов нет; гейт — успешная сборка (`tsc -b` ловит типизацию).
|