From a7133dd6edf650b95b6552f364a7f0fabcd860af Mon Sep 17 00:00:00 2001 From: cytopia Date: Wed, 6 Mar 2019 14:08:51 +0100 Subject: [PATCH] #453 Add Ngrok Compose override file --- compose/docker-compose.override.yml-all | 19 +++++++++++++++++++ compose/docker-compose.override.yml-ngrok | 23 +++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 compose/docker-compose.override.yml-ngrok diff --git a/compose/docker-compose.override.yml-all b/compose/docker-compose.override.yml-all index 5d7bd860..ef4c64b8 100644 --- a/compose/docker-compose.override.yml-all +++ b/compose/docker-compose.override.yml-all @@ -41,6 +41,25 @@ services: - php - httpd + # ----------------------------------------------------------------------------------------------- + # Ngrok + # ----------------------------------------------------------------------------------------------- + ngrok: + image: devilbox/ngrok:0.2 + hostname: ngrok + environment: + - HTTP_TUNNELS=${NGROK_HTTP_TUNNELS:-httpd:httpd:80} + - AUTHTOKEN=${NGROK_AUTHTOKEN:-} + ports: + - "${LOCAL_LISTEN_ADDR}${HOST_PORT_NGROK:-4040}:4040" + networks: + app_net: + ipv4_address: 172.16.238.202 + depends_on: + - bind + - php + - httpd + # ----------------------------------------------------------------------------------------------- # RabbitMQ # ----------------------------------------------------------------------------------------------- diff --git a/compose/docker-compose.override.yml-ngrok b/compose/docker-compose.override.yml-ngrok new file mode 100644 index 00000000..55b4e282 --- /dev/null +++ b/compose/docker-compose.override.yml-ngrok @@ -0,0 +1,23 @@ +# vim: set ft=yaml: +version: '2.1' + +services: + + # ----------------------------------------------------------------------------------------------- + # Ngrok + # ----------------------------------------------------------------------------------------------- + ngrok: + image: devilbox/ngrok:0.2 + hostname: ngrok + environment: + - HTTP_TUNNELS=${NGROK_HTTP_TUNNELS:-httpd:httpd:80} + - AUTHTOKEN=${NGROK_AUTHTOKEN:-} + ports: + - "${LOCAL_LISTEN_ADDR}${HOST_PORT_NGROK:-4040}:4040" + networks: + app_net: + ipv4_address: 172.16.238.202 + depends_on: + - bind + - php + - httpd