external:
name: ${DOCKER_SIM_NWNAME}
services:
- message-router:
+ httpproxy:
networks:
- default
- container_name: ${MR_APP_NAME}
- image: ${MRSTUB_IMAGE}
+ container_name: ${HTTP_PROXY_APP_NAME}
+ image: ${HTTP_PROXY_IMAGE}
+ tty: true
+ command: mitmweb --web-host 0.0.0.0 --no-web-open-browser --set ssl_insecure
ports:
- - ${MR_EXTERNAL_PORT}:${MR_INTERNAL_PORT}
- - ${MR_EXTERNAL_SECURE_PORT}:${MR_INTERNAL_SECURE_PORT}
- volumes:
- - ${MR_CERT_MOUNT_DIR}:/usr/src/app/cert:ro
+ - ${HTTP_PROXY_WEB_EXTERNAL_PORT}:${HTTP_PROXY_WEB_INTERNAL_PORT}
\ No newline at end of file