Last active
May 29, 2025 05:40
-
-
Save jedda/55edb75bb8c436f3e24d94ea251b75e1 to your computer and use it in GitHub Desktop.
Envoy Docker Compose for Apple Network Relay
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Docker compose stack to support Envoy testing | |
# A detailed write-up about Network Relay on Apple platforms is here: | |
# https://jedda.me/beneath-the-masque-network-relay-on-apple-platforms | |
version: '3' | |
services: | |
envoy: | |
restart: always | |
image: envoyproxy/envoy:v1.34-latest | |
container_name: "envoy" | |
ports: | |
- "443:443" | |
- "443:443/udp" # ensure that you also forward UDP if using QUIC/HTTP/3 | |
- "9901:9901" # dont expose this to the internet - it's there for stats collection in the config | |
volumes: | |
- /docker/envoy/envoy.yaml:/etc/envoy/envoy.yaml:ro # config file | |
- /docker/envoy/ssl/cert.pem:/etc/envoy/ssl/cert.pem:ro # server cert | |
- /docker/envoy/ssl/key.pem:/etc/envoy/ssl/key.pem:ro # server key | |
- /docker/envoy/ssl/root.pem:/etc/envoy/ssl/root.pem:ro # shared root | |
- /docker/envoy/ssl/devices_ca.pem:/etc/envoy/ssl/devices_ca.pem:ro # client intermediate for validation | |
- /docker/envoy/logs:/var/log/envoy # folder for access logs | |
# command: ["envoy", "-c", "/etc/envoy/envoy.yaml", "--log-level", "trace"] # uncomment to enable trace for debugging |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment