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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dockerfile has typo in server proxy uri variable #968
Conversation
Docker always provides it, by default as blank
I pushed another commit to ignore the proxy uri if it is present but blank, as it is by default in Docker. Otherwise I get: $ docker run -e PGRST_SERVER_PROXY_URI="" postgrest/postgrest
postgrest: FatalError {fatalErrorMessage = "Malformed proxy uri, a correct example: https://example.com:8443/basePath"} |
Why not just manually replace the |
yes, rebuild the docker images manually (both tags, just like the build script) and push. no need for a new version |
What about my change in Config.hs though? |
that can be a 4.3.1, along with other small changes, it's too small to merit a .1 i think. |
2f35acc
to
de70276
Compare
I just pulled the latest image from Docker Hub and followed the instructions but I still get the Malformed proxy uri error. The Docker Hub image seems to have been pushed 4 days ago. This patch was merged 6 days ago. I guess this patch did not make it into the Docker image. |
I tried with |
it is in master, :latest does not mean master, it means the latest release, which is 4.3 |
Sorry, my bad. I did not see it was already merged. I'll await the next release :). |
* s/URL/URI/ in dockerfile * Treat blank proxy uri as missing
I'm writing docs today and am adding a section to our installation section about running postgrest from docker. I encountered this:
The problem was that the dockerfile was providing a default value for PGRST_SERVER_PROXY_URL instead.
When we merge this our build process will automatically rebuild the
:latest
tag, right? I guess we'll have to release v4.3.1 as well... 馃槥