fix(deploy): use /ready/ healthcheck and /srv/mnemosyne path
All checks were successful
CVE Scan & Docker Build / security-scan (push) Successful in 1m9s
CVE Scan & Docker Build / build-and-push (push) Successful in 2m31s

- Change app healthcheck from /live/ to /ready/ to verify full
  readiness including dependencies (DB, Neo4j, S3)
- Increase healthcheck timeout from 5s to 10s to accommodate
  dependency checks
- Add S3 bucket connectivity check to readiness probe
- Update deployment documentation to use /srv/mnemosyne instead
  of /opt/mnemosyne as the compose project directory
This commit is contained in:
2026-05-04 09:23:36 -04:00
parent de0d7a4317
commit cbe7921938
3 changed files with 40 additions and 13 deletions

View File

@@ -106,9 +106,9 @@ services:
volumes:
- mnemosyne-media:/app/media
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/live/"]
test: ["CMD", "curl", "-f", "http://localhost:8000/ready/"]
interval: 30s
timeout: 5s
timeout: 10s
retries: 3
start_period: 30s