Skip to content

Instantly share code, notes, and snippets.

@benms
Forked from wellic/docker-compose.yml
Created May 27, 2022 20:01
Show Gist options
  • Save benms/ff097f1c1325abf0aa01dc3cf72c68ca to your computer and use it in GitHub Desktop.
Save benms/ff097f1c1325abf0aa01dc3cf72c68ca to your computer and use it in GitHub Desktop.
httpx proxy to *.docker
services:
# https://github.com/codekitchen/dinghy-http-proxy
http-proxy:
image: codekitchen/dinghy-http-proxy
container_name: http-proxy
privileged: true
environment:
- CONTAINER_NAME=http-proxy
ports:
- 80:80
- 443:443
- 19322:19322/udp
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
# comment if you don't going to use https
- ~/.dinghy/certs:/etc/nginx/certs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment