diff options
author | Cat <denperidge@gmail.com> | 2023-11-25 20:24:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-25 20:24:13 +0100 |
commit | 61e5dc47d7525b60e749d77618dc5b66848dac90 (patch) | |
tree | 3c4f09a556bebd5535d3b19571abfb44acf4bcf8 | |
parent | 210bce9938c858425c9e1db586cf3aaea235182a (diff) |
Added Docker commands for Windows (#3267)
### Pull Request Checklist
* [x] I have added Go unit tests or [Complement integration
tests](https://github.com/matrix-org/complement) for this PR _or_ I have
justified why this PR doesn't need tests
* [x] Pull request includes a [sign off below using a legally
identifiable
name](https://matrix-org.github.io/dendrite/development/contributing#sign-off)
_or_ I have already signed off privately
No tests were added due to it being a small documentation addition
Signed-off-by: `Cat Catry <denperidge@gmail.com>`
-rw-r--r-- | docs/installation/docker/1_docker.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/installation/docker/1_docker.md b/docs/installation/docker/1_docker.md index 1fe79263..f3399972 100644 --- a/docs/installation/docker/1_docker.md +++ b/docs/installation/docker/1_docker.md @@ -26,6 +26,8 @@ docker run --rm --entrypoint="/usr/bin/generate-keys" \ -v $(pwd)/config:/mnt \ matrixdotorg/dendrite-monolith:latest \ -private-key /mnt/matrix_key.pem + +# Windows equivalent: docker run --rm --entrypoint="/usr/bin/generate-keys" -v %cd%/config:/mnt matrixdotorg/dendrite-monolith:latest -private-key /mnt/matrix_key.pem ``` (**NOTE**: This only needs to be executed **once**, as you otherwise overwrite the key) @@ -44,6 +46,8 @@ docker run --rm --entrypoint="/bin/sh" \ -dir /var/dendrite/ \ -db postgres://dendrite:itsasecret@postgres/dendrite?sslmode=disable \ -server YourDomainHere > /mnt/dendrite.yaml" + +# Windows equivalent: docker run --rm --entrypoint="/bin/sh" -v %cd%/config:/mnt matrixdotorg/dendrite-monolith:latest -c "/usr/bin/generate-config -dir /var/dendrite/ -db postgres://dendrite:itsasecret@postgres/dendrite?sslmode=disable -server YourDomainHere > /mnt/dendrite.yaml" ``` You can then change `config/dendrite.yaml` to your liking. |