Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install on docker matrixdotorg/synapse #9

Closed
Ulrar opened this issue Nov 6, 2021 · 2 comments
Closed

Install on docker matrixdotorg/synapse #9

Ulrar opened this issue Nov 6, 2021 · 2 comments

Comments

@Ulrar
Copy link

Ulrar commented Nov 6, 2021

Hi,

I'm guessing not but is there a way to install this when using the official matrixdotorg/synapse docker image ?

Thanks

@spantaleev
Copy link
Member

There is. Both matrix-docker-ansible-deploy and matrix-corporal make use of this module with the official matrixdotorg/synapse Docker image.

You need to mount this module's Python file (shared_secret_authenticator.py) into the image like this: https://github.com/devture/matrix-corporal/blob/597ef474d4019cf182bed71d94a8b2a047bf75ce/etc/services/docker-compose.yaml#L31

You then define the password provider in the password_providers configuration key in homeserver.yaml (if you're using v1 of this module) or in the modules configuration key. See our CHANGELOG.md file for a difference between versions.

Do note that if you're using v2, you may hit this problem with Element: element-hq/element-web#19605

@Ulrar
Copy link
Author

Ulrar commented Nov 8, 2021

Ok I see, it just needs to be mounted in the container.
I've just setup v1 since I pretty much only use element.

Thanks !

@Ulrar Ulrar closed this as completed Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants