mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-20 05:17:53 +00:00
#453 Add Ngrok Compose override file
This commit is contained in:
parent
e8fa029de6
commit
a7133dd6ed
@ -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
|
||||
# -----------------------------------------------------------------------------------------------
|
||||
|
23
compose/docker-compose.override.yml-ngrok
Normal file
23
compose/docker-compose.override.yml-ngrok
Normal 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
|
Loading…
Reference in New Issue
Block a user