Refactor setup.sh to use updated matrixdotorg/synapse image
This commit is contained in:
parent
686e86df9e
commit
21948a68ed
7
setup.sh
7
setup.sh
@ -15,10 +15,11 @@ fi
|
||||
|
||||
# Generate configuration
|
||||
echo "Generating configuration with domain: $DOMAIN..."
|
||||
docker compose run --rm \
|
||||
-e SYNAPSE_SERVER_NAME="$DOMAIN" \
|
||||
docker run -it --rm \ ✔ 22s
|
||||
-v $(pwd)/config/synapse:/data \
|
||||
-e SYNAPSE_SERVER_NAME= "$DOMAIN" \
|
||||
-e SYNAPSE_REPORT_STATS=no \
|
||||
synapse generate
|
||||
matrixdotorg/synapse:latest generate
|
||||
|
||||
# Generate and display the registration shared secret
|
||||
SHARED_SECRET=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 50)
|
||||
|
Loading…
x
Reference in New Issue
Block a user