ngrok php实现 https://github.com/beyondcode/expose

天问 f1d9d24692 Update 'README.md' 1 year ago
README.md f1d9d24692 Update 'README.md' 1 year ago

README.md

expose

ngrok php实现

Usage

安装:

注意依赖php环境:

curl https://github.com/beyondcode/expose/raw/master/builds/expose -L --output expose
chmod +x expose
./expose

docker方式:

git clone https://github.com/beyondcode/expose
cd expose
docker build -t jianboy/expose .

docker run jianboy/expose share http://192.168.2.100 --auth="admin:xxx"  # share a local site
docker run jianboy/expose serve my-domain.com # start a server

expose share http://localhost:3000
expose share-port 2525

运行docker需要token