From b3dfa110976206173db0efe46a3924a4445891c5 Mon Sep 17 00:00:00 2001 From: Lennart Brandin <92579517+lennartbrandin@users.noreply.github.com> Date: Sat, 4 Feb 2023 13:12:49 +0100 Subject: [PATCH] Update docker mountpoint installation instructions Synapse was bumped from python3.9 to python3.11 https://github.com/matrix-org/synapse/pull/14875 Fixes https://github.com/devture/matrix-synapse-shared-secret-auth/issues/21 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3ead6e9..db38acf 100644 --- a/README.md +++ b/README.md @@ -37,9 +37,9 @@ Once installed, you can proceed to [Configuring](#configuring). ### Using with Synapse running in a container -To use it with [Synapse](https://github.com/matrix-org/synapse) running in a container (for example, using the [matrixdotorg/synapse container image](https://hub.docker.com/r/matrixdotorg/synapse)), download the `shared_secret_authenticator.py` script from this repository and mount it into the container at a path like `/usr/local/lib/python3.9/site-packages/shared_secret_authenticator.py`. +To use it with [Synapse](https://github.com/matrix-org/synapse) running in a container (for example, using the [matrixdotorg/synapse container image](https://hub.docker.com/r/matrixdotorg/synapse)), download the `shared_secret_authenticator.py` script from this repository and mount it into the container at a path like `/usr/local/lib/python3.11/site-packages/shared_secret_authenticator.py`. -If you're using `docker run` (`podman run`, etc.) to start your container, simply add `--mount type=bind,src=/HOST/PATH/TO/shared_secret_authenticator.py,dst=/usr/local/lib/python3.9/site-packages/shared_secret_authenticator.py` (or `-v /HOST/PATH/TO/shared_secret_authenticator.py:/usr/local/lib/python3.9/site-packages/shared_secret_authenticator.py`). +If you're using `docker run` (`podman run`, etc.) to start your container, simply add `--mount type=bind,src=/HOST/PATH/TO/shared_secret_authenticator.py,dst=/usr/local/lib/python3.11/site-packages/shared_secret_authenticator.py` (or `-v /HOST/PATH/TO/shared_secret_authenticator.py:/usr/local/lib/python3.11/site-packages/shared_secret_authenticator.py`). Once installed, you can proceed to [Configuring](#configuring). @@ -52,7 +52,7 @@ If you're using [docker-compose](https://docs.docker.com/compose/) to start the matrix: image: matrixdotorg/synapse:latest volumes: - - ./shared_secret_authenticator.py:/usr/local/lib/python3.9/site-packages/shared_secret_authenticator.py + - ./shared_secret_authenticator.py:/usr/local/lib/python3.11/site-packages/shared_secret_authenticator.py ... ```