diff --git a/Dockerfile b/Dockerfile index cf7d1a0..b130963 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,7 @@ RUN addgroup synapse RUN adduser -h /var/lib/synapse -D -G synapse synapse RUN apk add --no-cache \ + openssl \ bash \ coreutils \ curl \ diff --git a/rootfs/etc/cont-init.d/synapse-keys b/rootfs/etc/cont-init.d/synapse-keys index 8f9f2ab..ce375f8 100644 --- a/rootfs/etc/cont-init.d/synapse-keys +++ b/rootfs/etc/cont-init.d/synapse-keys @@ -2,7 +2,7 @@ if [ ! -f /var/lib/synapse/signing/signing.key ]; then source /var/lib/synapse/bin/activate - s6-setuidgid synapse python -B -m synapse.app.homeserver -c server.yaml --generate-config --report-stats=no + s6-setuidgid synapse python -B -m synapse.app.homeserver -c server.yaml --generate-config -H $SERVER_NAME --report-stats=no fi if [ ! -f /var/lib/synapse/signing/dhparams.pem ]; then