/.env
Created
May 20, 2020 13:39
Revisions
-
Neirda24 created this gist
May 20, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ NGROK_AUTH=My_auth_token This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ 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 hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ region: 'eu' log: 'stdout' web_addr: '0.0.0.0:4040' tunnels: my_app: proto: 'http' addr: 'nginx:80' bind_tls: false