Files
mrvactl/run/init
michael hohn e0ff0f2f37 Port of docker-compose file to shell scripts. Found 11 bugs:
Root causes fixed during shell-first MRVA bring-up:

1. set -e + sourced script calling exit (ensure-pg-volume.sh aborted caller)
2. Probe scripts conflated “running” vs “ready” semantics
3. Missing explicit wait/retry logic for service readiness
4. Environment variables defined but not exported (env.sh)
5. Hidden Docker Compose behavior (RabbitMQ users/queues/permissions)
6. RabbitMQ definitions file mounted but not actually loaded
7. Misleading RabbitMQ auth errors (user did not exist vs wrong password)
8. Host vs container naming confusion (localhost / host.docker.internal / DNS)
9. Containers not placed on a shared user-defined Docker network
10. Service name mismatch (postgres vs mrva-postgres)
11. Ambiguous HEPC endpoint semantics (container → host access)

Outcome: system now boots deterministically using explicit shell orchestration.
2025-12-19 17:09:12 -08:00
..