-
Notifications
You must be signed in to change notification settings - Fork 83
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
Added dockerization for the Trino Gateway #113
Conversation
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
So I have not really looked at the details of this PR at all, but here are a few points to consider
I am currently going through a refactor PR and then we will try to get all other PRs reviewed and merged .. including this one. Thank you for all the work you have done already. Also would love some feedback from their practical experience with container images for Trino Gateway from @willmostly @andythsu @vishalya @Chaho12 and others. |
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
Please rebase and resolve conflicts. |
405a06e
to
50a3254
Compare
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
@cla-bot check |
The cla-bot has been summoned, and re-checked this pull request! |
Let me know if you are ready for review again @rdsarvar |
ee6e0f2
to
9789280
Compare
I think we should merge this setup to get started and improve from there. What do you think @willmostly @Chaho12 @vishalya @wendigo We just cut version 5 so we have some time to improve before we ship this .. and we could even still release 6 without pushing the container. |
Please address any feedback that it still outstanding and squash commits @rdsarvar |
Adding documentation, image creation, and compose file modifications required for running the Trino Gateway in a docker container.
9789280
to
1c08e1b
Compare
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.
Sounds good :)
Btw do you need gateway-ha-config-docker.yml file? I find it duplicate with gateway-ha-config.yml file. Will there be any needs for config to be different?
The only real reason I did it is to be able to target the jdbcUrl: jdbc:postgresql://postgres:5432/trino_gateway_db Due to 'localhost' inside of the container referring to itself and not the underlying host running the container. If we don't want to use the isolated bridged networking mode, we could use Do you think there's an easy way to maybe at runtime (docker compose up gateway) convert instances of |
I think its fine to use a separate config file and default to PostgreSQL... something I want to do anyway. |
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.
Okay .. I tested it all out now and got it all working.
The PR as it stands is functional and good enough to merge.
There were a bunch of things I ran into with regards to macos/arm64 and maven wrapper. I will send a follow up PR for improvements related to that.
Adding documentation, image creation, and compose file modifications required for running the Trino Gateway in a docker container.
Docker setup based on what @wendigo did with Trino
Potential implementation for #86