相信不少人都用過 NGROK

隨機 DOMAIN

一次只能開一個

40 個連線 / 分

SERVEO 使用教學
| |
| ssh -R 80:localhost:3000 serveo.net |
| |
| |
| ssh -R 80:example.com:80 serveo.net |
| |
| |
| ssh -R incubo:80:localhost:8888 serveo.net |
| |
| |
| ssh -o ServerAliveInterval=60 -R 80:localhost:8888 serveo.net |
| |
| |
| autossh -M 0 -R 80:localhost:8888 serveo.net |
所以我就幫 SERVEO
做了 Docker Image
docker-compose.yml
| version: '2' |
| |
| services: |
| serveo: |
| image: taichunmin/serveo:latest |
| tty: true |
| stdin_open: true |
| |
| 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 |
在 Docker 裡面
要把本機的服務
轉成 HTTPS 也沒問題
Windows / macOS
| version: '2' |
| |
| services: |
| serveo: |
| image: taichunmin/serveo:latest |
| tty: true |
| stdin_open: true |
| |
| command: > |
| autossh -M 0 |
| -o ServerAliveInterval=60 |
| -o ServerAliveCountMax=3 |
| -o ExitOnForwardFailure=yes |
| -o StrictHostKeyChecking=no |
| -R 80:host.docker.internal:3000 |
| serveo.net |
| |
Linux
| version: '2' |
| |
| services: |
| serveo: |
| image: taichunmin/serveo:latest |
| tty: true |
| stdin_open: true |
| |
| command: > |
| HOST_DOMAIN=`ip route|awk '/default/ { print $3 }'` |
| autossh -M 0 |
| -o ServerAliveInterval=60 |
| -o ServerAliveCountMax=3 |
| -o ExitOnForwardFailure=yes |
| -o StrictHostKeyChecking=no |
| -R 80:$HOST_DOMAIN:3000 |
| serveo.net |
| |
所以我幫伺服器版
也做了 Docker Image
準備一台主機
準備好你的 DOMAIN
準備一個 HTTPS 憑證

強力徵求具創新力、溝通力、正向力的夥伴!
⇨ 歡迎中部的朋友 加入我們
 |
功能
|
Any Question?
taichunmin/serveo
|
|
|
taichunmin/serveo-server
|
|
|
SERVEO 讓你用 Docker 開發 chatbot 也能過的去 簡報: https://lihi1.cc/hZ1pK 共筆: https://hackmd.io/wXaMu-2MQc2ezyM-rLbbAg
{"metaMigratedAt":"2023-06-14T20:29:17.218Z","metaMigratedFrom":"YAML","title":"SERVEO 讓你用 Docker 開發 chatbot 也能過的去","breaks":true,"description":"SERVEO 讓你用 Docker 開發 chatbot 也能過的去","slideOptions":"{\"allottedMinutes\":20}","contributors":"[{\"id\":\"0d9a5e06-1f92-4142-b9df-fed4c8873573\",\"add\":34843,\"del\":28801}]"}