Sign inSign up

solyhe84/cpolarc

By solyhe84

Updated almost 2 years ago

Image
0

195

solyhe84/cpolarc repository overview

cpolar 内网穿透docker镜像

官网:https://www.cpolar.com/

注册后获取认证码,连接成功后会显示分配的域名及端口。

使用时映射yml文件

docker run -d --net host --name cpolarc -v /root/data/cpolar.yml:/root/.cpolar/cpolar.yml solyhe84/cpolarc

Docker-compose实例
services:
  cpolarc:
    image: solyhe84/cpolarc:latest
    container_name: cpolarc
    network_mode: host
    # privileged: true
    volumes:
      - ./cpolar.yml:/root/.cpolar/cpolar.yml
    restart: always
cpolar.yml实例
authtoken: MDI4ODQ1ZjEtMxxxxMDNjZmJj
tunnels:
  ssh:
    proto: tcp
    addr: "22"
  website:
    proto: http
    addr: "192.168.1.88:8080"
    region: cn

Tag summary

Content type

Image

Digest

sha256:d3c95f75a

Size

17.7 MB

Last updated

almost 2 years ago

docker pull solyhe84/cpolarc