webhooksite / webhook.site

⚓️ Easily test HTTP webhooks with this handy tool that displays requests instantly.
https://webhook.site
Other
5.32k stars 416 forks source link

can't setup webhook.site as multiple containers #152

Open bgalek opened 11 months ago

bgalek commented 11 months ago

Hi! Congratulations on successful project! I'm trying to run webhook.site on multiple containers (without docker compose).

nginx.conf has host of laravel-echo-server hardcoded, so I cannot put my IP there.

proxy_pass http://laravel-echo-server:6001;

Any chances of making it configurable?

sullivan1337 commented 9 months ago

This is also an issue when attempting to run the 3 required containers on Azure ACI, workaround is running the following on container startup (not ideal..) commands = [ "/bin/sh", "-c", "sed -i 's|proxy_pass http://laravel-echo-server:6001;|proxy_pass http://localhost:6001;|' /etc/nginx/conf.d/nginx.conf && nginx && nginx -s reload" ]