Upgrade from admin site in docker container not possible over proxy server

(Daniel Schunack) #1


I will upgrade discourse over the admin site, but the git command does not use the configured proxy in the container and failed with a timeout.

$ cd /var/www/discourse && git fetch && git reset --hard HEAD@{upstream}
fatal: unable to access ‘GitHub - discourse/discourse: A platform for community discussion. Free, open, simple.’: Failed to connect to github.com port 443: Connection timed out

I can enter the container and execute the command in the container shell and it works fine wihtout any problems.
The proxy server was configured in the xml file and the proxy is correct set in the container shell.
I think git does not use the configured proxy over the admin site. Please, fix that. The rebuild of the container need much time. Thank you.

Best regards