mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
feat(chat): join users to rooms on sign-in
This commit is contained in:
@@ -29,6 +29,12 @@ declare -A SERVICE_ENV_TARGET=(
|
||||
["passenger_portal"]="apps/edr-passenger-web/portal/.env"
|
||||
["passenger_backoffice"]="apps/edr-passenger-web/backoffice/.env"
|
||||
["payment_api"]="apps/edr-payment-api/.env"
|
||||
["synapse"]="infrastructure/matrix/synapse/.env"
|
||||
# element_web holds no secrets, but its config.json is rendered at container
|
||||
# start from MATRIX_PUBLIC_BASEURL / MATRIX_SERVER_NAME / ELEMENT_PUBLIC_URL
|
||||
# (see infrastructure/matrix/element), so it needs an env file like the rest —
|
||||
# plus the PORT line every service env is required to carry.
|
||||
["element_web"]="infrastructure/matrix/element/.env"
|
||||
)
|
||||
|
||||
for service in "$@"; do
|
||||
|
||||
@@ -32,9 +32,9 @@ declare -A SERVICE_ENV_TARGET=(
|
||||
["passenger-backoffice"]="apps/edr-passenger-web/backoffice/.env"
|
||||
["payment-api"]="apps/edr-payment-api/.env"
|
||||
["synapse"]="infrastructure/matrix/synapse/.env"
|
||||
# element-web has no runtime secrets (its config.json is baked into the
|
||||
# image), but the sync step still runs unconditionally per service and
|
||||
# needs a PORT= line to compute ELEMENT_WEB_PORT for docker compose.
|
||||
# element-web holds no secrets, but its config.json is rendered at container
|
||||
# start from MATRIX_PUBLIC_BASEURL / MATRIX_SERVER_NAME / ELEMENT_PUBLIC_URL,
|
||||
# and the sync step needs a PORT= line to compute ELEMENT_WEB_PORT anyway.
|
||||
["element-web"]="infrastructure/matrix/element/.env"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user