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

Allow http-only host.docker.internal as push proxy #1234

Conversation

provokateurin
Copy link
Member

@provokateurin provokateurin commented Jul 21, 2022

This is the hostname commonly used (default by docker desktop, usually also used on linux) for accessing the host machine.

Fixes nextcloud/neon#30

@provokateurin provokateurin force-pushed the fix/push-proxy-allow-http-docker-internal-host branch from cc5cbc8 to f62e554 Compare July 21, 2022 11:25
@nickvergessen
Copy link
Member

I wonder why you need this as the software you need to run there is not available as docker not in general 🤔

@provokateurin
Copy link
Member Author

This is for development purposes (just like using localhost). The Nextcloud instance runs in docker, but the push proxy runs on the machine itself.

@provokateurin
Copy link
Member Author

Ah sorry I didn't understand your comment correctly. I developed my own push proxy :D

@nickvergessen
Copy link
Member

Ah sorry I didn't understand your comment correctly. I developed my own push proxy :D

Oh, okay

lib/Controller/PushController.php Outdated Show resolved Hide resolved
@provokateurin provokateurin force-pushed the fix/push-proxy-allow-http-docker-internal-host branch from f62e554 to 74f1472 Compare July 21, 2022 12:20
Signed-off-by: jld3103 <jld3103yt@gmail.com>
@provokateurin provokateurin force-pushed the fix/push-proxy-allow-http-docker-internal-host branch from 74f1472 to e371ca9 Compare July 21, 2022 12:28
@nickvergessen nickvergessen merged commit 4f2bb2e into nextcloud:master Jul 21, 2022
@provokateurin
Copy link
Member Author

I guess this will be released along the next Nextcloud release?

@nickvergessen
Copy link
Member

Yeah, the app is shipped. So will come with 25

@provokateurin provokateurin deleted the fix/push-proxy-allow-http-docker-internal-host branch July 21, 2022 15:57
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.

Drop host.docker.internal hack
2 participants