diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..76547e9ee --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +bin +*.wasm +.git \ No newline at end of file diff --git a/docker/hub/README.md b/docker/hub/README.md index c68ba1889..fd6411439 100644 --- a/docker/hub/README.md +++ b/docker/hub/README.md @@ -28,6 +28,15 @@ runtime config should come from. The mounted folder must contain: - `server.crt` certificate file - `server.key` private key file for the above certificate +To generate keys: + +``` +go run github.com/matrix-org/dendrite/cmd/generate-keys \ + --private-key=matrix_key.pem \ + --tls-cert=server.crt \ + --tls-key=server.key +``` + ## Starting Dendrite Once in place, start the dependencies: