Merge pull request #57 from IliesAllali/docker/healthcheck-premier-lancement

fix(docker): 120 s de marge au healthcheck de l'API au premier lancement
This commit is contained in:
IliesAllali authored and GitHub committed 2026-10-11 20:42:18 +02:00
commit abee3c6e19
2 files changed
+4 -1

No files matched your search

+1
View File
@@ -16,6 +16,7 @@ Notable changes to Parenthèse. Dates are in YYYY-MM-DD format.
### Fixes
- Docker: on a first `docker compose up`, the API now gets 120 s to run its migrations before its health check counts (was 30 s). The web container waits for a healthy API and used to give up, so it had to be started again by hand.
- Children of a family with only one known parent (common in GEDCOM files) are linked to that parent, under a single "Unknown" partner, instead of floating in the tree without a link.
- Importing a GEDCOM file into a tree that already holds it no longer duplicates everyone: people with the same first name, last name, birth and death dates are reused, and existing unions and parent links are kept.
+3 -1
View File
@@ -50,7 +50,9 @@ services:
interval: 15s
timeout: 5s
retries: 5
start_period: 30s
# Premier lancement : les migrations passent avant que l'API réponde, 30 s ne suffisaient pas
# et le conteneur web, qui attend une API prête, abandonnait (signalé sur Reddit le 11/10).
start_period: 120s
web:
image: ghcr.io/iliesallali/parenthese-web:${PARENTHESE_VERSION:-latest}