Migrate repo from docker to podman
- 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).
This commit is contained in:
@@ -15,7 +15,7 @@ spring.servlet.multipart.file-size-threshold=100MB
|
||||
wordpdf.convert-timeout=2m
|
||||
|
||||
# Ключ доступа (заголовок X-API-Key). Пусто = аутентификация выключена
|
||||
# (dev: java -jar / тесты). В docker-compose задан ${WORDPDF_API_KEY:?} — fail-closed.
|
||||
# (dev: java -jar / тесты). В compose.yml задан ${WORDPDF_API_KEY:?} — fail-closed.
|
||||
wordpdf.api-key=
|
||||
|
||||
# Работа за префикс-срезающим прокси (прод: наружный nginx срезает
|
||||
|
||||
Reference in New Issue
Block a user