Sign inSign up

simplysublime/serveo

By simplysublime

•Updated about 7 years ago

Image
0

9.8K

simplysublime/serveo repository overview

⁠docker for serveo.net

https://serveo.net⁠ is an alternative for ngrok. simplysublime/serveo⁠ will let you securly access to your localhost server through any NAT or firewall in Docker.

⁠Usage

  1. write a docker-compose.yml file.
version: "3"

services:
  serveo:
    image: simplysublime/serveo:latest
    tty: true
    stdin_open: true
    # see https://serveo.net/ for more options
    command: autossh -M 0 -o ServerAliveInterval=60 -o ServerAliveCountMax=3 -o ExitOnForwardFailure=yes -o StrictHostKeyChecking=no -R 80:nginx:80 serveo.net
  nginx:
    image: nginx:latest
  1. use docker-compose up -d to start container.

  2. you need to use docker-compose logs serveo to see your new URL.

⁠Demo

$ git clone https://github.com/taichunmin/docker-serveo.git

$ sudo docker-compose up -d

$ sudo docker-compose logs serveo

Attaching to dockerserveo_serveo_1
serveo_1  | Warning: Permanently added 'serveo.net,195.201.91.242' (RSA) to the list of known hosts.
serveo_1  | Forwarding HTTP traffic from https://proinde.serveo.net
serveo_1  | Press g to start a GUI session and ctrl-c to quit.
serveo_1  | HTTP request from 125.227.205.43 to https://proinde.serveo.net/
serveo_1  | HTTP request from 125.227.205.43 to https://proinde.serveo.net/favicon.ico

⁠LICENSE

MIT License

Tag summary

Content type

Image

Digest

Size

4.9 MB

Last updated

about 7 years ago

docker pull simplysublime/serveo