feat: WIP element Chat intergration

This commit is contained in:
Nathnael
2026-07-31 06:36:03 +00:00
parent a2c30a3c96
commit 00bd1250ee
31 changed files with 1128 additions and 2 deletions

View File

@@ -116,3 +116,31 @@ services:
env_file:
- apps/edr-payment-api/.env
restart: always
# Internal employee chat (freight backoffice). No federation, no public
# registration — see infrastructure/matrix/synapse/homeserver.yaml.tmpl.
synapse:
build:
context: infrastructure/matrix/synapse
ports:
- "${SYNAPSE_PORT:-8008}:8008"
env_file:
- infrastructure/matrix/synapse/.env
volumes:
- matrix-data:/data
# Local dev: Postgres runs in the separate docker-compose.db.dev.yml
# project (different docker network) and is only reachable from here via
# the host's published port — see MATRIX_DB_HOST in synapse/.env.example.
extra_hosts:
- "host.docker.internal:host-gateway"
restart: always
element-web:
build:
context: infrastructure/matrix/element
ports:
- "${ELEMENT_WEB_PORT:-8080}:80"
restart: always
volumes:
matrix-data: