version: "3.7" services: proxy-https-to-http: build: context: . dockerfile: Dockerfile-proxy-https-http ports: - "10000:10000" proxy-https-to-https: build: context: . dockerfile: Dockerfile-proxy-https-https ports: - "10001:10000" proxy-http-to-https: build: context: . dockerfile: Dockerfile-proxy-http-https ports: - "10002:10000" proxy-https-passthrough: build: context: . dockerfile: Dockerfile-proxy-https-passthrough ports: - "10003:10000" service-http: image: mendhak/http-https-echo hostname: service-http environment: - HTTPS_PORT=0 service-https: image: mendhak/http-https-echo hostname: service-https environment: - HTTP_PORT=0