diff --git a/.gitea/gitea_compose_qnap_all_in_one.md b/.gitea/gitea_compose_qnap_all_in_one.md index 9463456..2835de7 100644 --- a/.gitea/gitea_compose_qnap_all_in_one.md +++ b/.gitea/gitea_compose_qnap_all_in_one.md @@ -64,6 +64,11 @@ services: image: postgres:16-alpine container_name: gitea-db restart: unless-stopped + # Geben wir Postgres Zeit für sauberen Shutdown beim Stop/Replace. + # Ohne diesen Grace muss beim nächsten Start Crash-Recovery laufen + # (fsync über alle Files) — auf HDD-backed QNAP-Storage dauert das + # schnell 5-10 Minuten und blockt Gitea beim Start. + stop_grace_period: 60s environment: - POSTGRES_USER=gitea - POSTGRES_PASSWORD=UGi2VZA7SgYGov