fix(deploy): add DATABASE_URL and openbrain network to orchestrator + synapse (#745)

Co-authored-by: Jason Woltje <jason@diversecanvas.com>
Co-committed-by: Jason Woltje <jason@diversecanvas.com>
This commit was merged in pull request #745.
This commit is contained in:
2026-03-08 15:51:22 +00:00
committed by jason.woltje
parent 3c288f9849
commit ad9921107c

View File

@@ -316,6 +316,8 @@ services:
SANDBOX_ENABLED: "true"
# API key for authenticating requests from the web proxy
ORCHESTRATOR_API_KEY: ${ORCHESTRATOR_API_KEY}
# Prisma database connection (uses the shared openbrain postgres)
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@openbrain_brain-db:5432/${POSTGRES_DB:-mosaic}
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- orchestrator_workspace:/workspace
@@ -331,6 +333,7 @@ services:
start_period: 40s
networks:
- internal
- openbrain_brain-internal
cap_drop:
- ALL
cap_add:
@@ -403,6 +406,7 @@ services:
networks:
- internal
- traefik-public
- openbrain_brain-internal
deploy:
restart_policy:
condition: on-failure