Files
stack/docker-compose.swarm.portainer.yml
Jason Woltje e3ef9e3827
All checks were successful
ci/woodpecker/push/ci Infra-only change: no app code affected, CI not required
fix(deploy): add DATABASE_URL and openbrain network to orchestrator and synapse
Orchestrator was crashing with PrismaClientInitializationError because DATABASE_URL
was never added to docker-compose.swarm.portainer.yml when Prisma was integrated.
Synapse was failing because homeserver.yaml pointed to 'postgres' hostname instead
of the actual openbrain_brain-db service.

Changes:
- Add DATABASE_URL env var to orchestrator service
- Add openbrain_brain-internal network to orchestrator service
- Add openbrain_brain-internal network to synapse service

Note: homeserver.yaml /opt/mosaic/synapse/homeserver.yaml was also patched
directly on the server (host: postgres → host: openbrain_brain-db).
2026-03-08 10:36:41 -05:00

18 KiB