-
-
Save Neirda24/0e43bb3dedb0cf2c9ac8538dcd74f4f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NGROK_AUTH=My_auth_token |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
nginx: | |
# some stuff | |
ngrok: | |
image: 'wernight/ngrok:latest' | |
command: ['ngrok', 'start', '--all', '-authtoken=${NGROK_AUTH:?}'] | |
ports: | |
- | |
published: '4040' | |
target: '4040' | |
protocol: 'tcp' | |
mode: 'host' | |
volumes: | |
- | |
type: 'bind' | |
source: './ngrok.yml' | |
target: '/home/ngrok/.ngrok2/ngrok.yml' | |
consistency: 'delegated' | |
read_only: true | |
tty: true | |
container_name: 'ngrok' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
region: 'eu' | |
log: 'stdout' | |
web_addr: '0.0.0.0:4040' | |
tunnels: | |
my_app: | |
proto: 'http' | |
addr: 'nginx:80' | |
bind_tls: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment