diff --git a/CHANGELOG.md b/CHANGELOG.md index 4114143..6636000 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/docker-compose.yml b/docker-compose.yml index 341bb3e..0e19bb0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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}