-
Notifications
You must be signed in to change notification settings - Fork 84
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
Add Dockerfile (Updated) #290
Conversation
Signed-off-by: Tristan Lins <tristan@lins.io>
Signed-off-by: Tristan Lins <tristan@lins.io>
Signed-off-by: Tristan Lins <tristan@lins.io>
Signed-off-by: Tristan Lins <tristan@lins.io>
… mount Signed-off-by: Tristan Lins <tristan@lins.io>
Signed-off-by: Tristan Lins <tristan@lins.io>
Signed-off-by: Tristan Lins <tristan@lins.io>
Signed-off-by: Tristan Lins <tristan@lins.io>
Signed-off-by: Tristan Lins <tristan@lins.io>
I made some more optimisations on the dockerfile.
|
Signed-off-by: Tristan Lins <tristan@lins.io>
The user |
|
I could no longer reproduce my problem when testing, I don't know exactly what was going on. This Docker image is already running productively for me 😎 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this! Just a small change.
@tristanlins are you still interested in working on this? It's been a few weeks since the last update here: would you be able to answer @anoadragon453's questions? |
Sorry, I hat lost focus on this issue 😁 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had already replied to @anoadragon453, but had received no reply.
Do you mean #290 (comment)? That was only posted yesterday, and your comment 20m later. That's not a lot of time to respond :D
Anywho, thank you for the explanation 👍 I've become more familiar with Dockerfiles over the past couple weeks and thus feel more confident in reviewing this now. As such, I've left a few comments and questions below. Thank you!
I'm really sorry, I had written the comment for a long time, but somehow it wasn't published. 🙈 (The new review management from Github still confuses me regularly ...) I will incorporate the suggestions later. |
Ahh, no worries, I've done the exact same thing before :) |
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Signed-off-by: Tristan Lins <tristan@lins.io>
Signed-off-by: Tristan Lins <tristan@lins.io>
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Signed-off-by: Tristan Lins <tristan@lins.io>
Done, @anoadragon453 I'm looking forward to your feedback 😀 |
Signed-off-by: Tristan Lins <tristan@lins.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM! Thank you very much!
…cker * 'master' of github.com:matrix-org/sydent: changelog: OpenID auth tokens -> access tokens 2.0.1 Add newsfile Raise IncorrectSessionTokenException instead of returning it Fix documentation for testing skipping the deletion of 3PID invite tokens Cleanup and document tests for 3PID invites Fix checking for access_token query parameter (matrix-org#294) Update pyproject.toml Fix project name in pyproject.toml Add towncrier config Do a deep copy of the config default when parsing a dict Add test cases for invite deletion Add a config option to disable deleting tokens on bind
This is the successor or a revised version of #80
From the original PR I picked the two essential / sensible commits.
Instead of using the environment variables at runtime, you can now overwrite the defaults. In particular, it's all about
SYDENT_DB_PATH
.A build on top of v2.0.0 can be found here: https://github.com/tristanlins/sydent/tree/feature-docker-v2.0.0
A pre-build image can be found on docker hub: https://hub.docker.com/r/tril/matrixdotorg-sydent/tags
Changelog
(non docker file related changes)
SYDENT_SERVER_NAME
,SYDENT_PID_FILE
andSYDENT_DB_PATH
can be used to adapt the automatically created configuration at startup.