2022-07-12 18:29:54 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
chown -R 991:991 integration_test/dendrite
|
|
|
|
|
|
|
|
# creating integration test SSL certificates
|
|
|
|
docker run --rm --entrypoint="" \
|
|
|
|
--volume="$(pwd)/integration_test/dendrite/data":/mnt:rw \
|
|
|
|
matrixdotorg/dendrite-monolith:latest \
|
|
|
|
/usr/bin/generate-keys \
|
|
|
|
-private-key /mnt/matrix_key.pem \
|
|
|
|
-tls-cert /mnt/server.crt \
|
|
|
|
-tls-key /mnt/server.key
|
|
|
|
|
2022-11-28 07:12:40 +01:00
|
|
|
docker run -d --volume="$(pwd)/integration_test/dendrite/data":/etc/dendrite:rw \
|
|
|
|
--name dendrite -p 80:8008 matrixdotorg/dendrite-monolith:latest -really-enable-open-registration
|