#453 Add Ngrok Compose override file

This commit is contained in:
cytopia 2019-03-06 14:08:51 +01:00
parent e8fa029de6
commit a7133dd6ed
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2
2 changed files with 42 additions and 0 deletions

View File

@ -41,6 +41,25 @@ services:
- php - php
- httpd - 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 # RabbitMQ
# ----------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------

View File

@ -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