Worker-gen rewrite
This commit is contained in:
@@ -51,7 +51,7 @@ docker run -it --rm --network matrix_network \
|
||||
-v "${VOLUME_PATH}/synapse:/data" \
|
||||
-e SYNAPSE_SERVER_NAME="$HOMESERVER_FQDN" \
|
||||
-e SYNAPSE_REPORT_STATS=no \
|
||||
ghcr.io/element-hq/synapse:latest generate
|
||||
ghcr.io/element-hq/synapse:latest generate || { log_error "Synapse config generation failed"; exit 1; }
|
||||
|
||||
fix_ownership "${VOLUME_PATH}/synapse"
|
||||
|
||||
@@ -59,7 +59,7 @@ log_info "Generating MAS configuration..."
|
||||
docker run -it --rm --network matrix_network \
|
||||
-v "${VOLUME_PATH}/mas:/data" \
|
||||
ghcr.io/element-hq/matrix-authentication-service:latest config generate \
|
||||
| grep -v '^[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}' > "${VOLUME_PATH}/mas/config.yaml"
|
||||
| grep -v '^[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}' > "${VOLUME_PATH}/mas/config.yaml" || { log_error "Mas config generation failed"; exit 1; }
|
||||
|
||||
fix_ownership "${VOLUME_PATH}/mas"
|
||||
log_info "Configuration complete"
|
||||
|
||||
Reference in New Issue
Block a user