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

fix: incorrect ports in docker-compose #211

Merged
merged 2 commits into from
Oct 19, 2023

Conversation

AlexanderLukin
Copy link
Contributor

Pull Request #202 introduced a bug with port variables substitution in the docker-compose.yml file. Because of this bug clickhouse was not running correctly in a docker container. Now this bug is fixed.

Pull Request #202 introduced a bug with port variables substitution in
the `docker-compose.yml` file. Because of this bug clickhouse was not
running correctly in a docker container. Now this bug is fixed.
@AlexanderLukin AlexanderLukin self-assigned this Oct 17, 2023
As stated in Readme, `HTTP_PORT` environment variable should be optional
and have a reasonable default value. But in the previous version of
`docker-compose` file it was assumed that the `HTTP_PORT` value must be
set. Now this assumption is eliminated and default values for
`HTTP_PORT` and `EXTERNAL_HTTP_PORT` environment variables are set in
`docker-compose.yml`.
@AlexanderLukin
Copy link
Contributor Author

Update. The first commit in this PR is no longer relevant. The config in the initial version of docker-compose.yml file was correct, but it doesn't work with docker-compose of versions earlier than 2.2.3 (because of nested variables interpolation I assume). In the next commit of this PR, this config was slightly improved.

As stated in Readme, HTTP_PORT environment variable should be optional and have a reasonable default value. But in the previous version of docker-compose file it was assumed that the HTTP_PORT value must be set. Now this assumption is eliminated and default values for HTTP_PORT and EXTERNAL_HTTP_PORT environment variables are set in docker-compose.yml.

@AlexanderLukin AlexanderLukin merged commit 75796db into develop Oct 19, 2023
5 checks passed
@AlexanderLukin AlexanderLukin deleted the fix/posts-substitution-docker-compose branch October 19, 2023 17:05
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

Successfully merging this pull request may close these issues.

2 participants