-
-
Save fhuitelec/4d43e545d01f6f36086b01d9b291d294 to your computer and use it in GitHub Desktop.
[Docker permanent localtunnel] #docker #docker-compose #localtunnel #slack
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 characters
# This file must be placed where you run your `docker-compose` command | |
SUBDOMAIN=yourdomain # Your fully qualified domain without dash |
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 characters
version: '2' | |
services: | |
localtunnel: | |
build: | |
dockerfile: localtunnel.Dockerfile | |
context: . | |
restart: on-failure | |
command: --local-host bot --port 8888 --subdomain ${SUBDOMAIN} |
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 characters
FROM node:8-alpine | |
MAINTAINER Fabien Huitelec < fabien at evaneos dot com > | |
RUN npm install -g localtunnel | |
ENTRYPOINT [ "lt" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment