diff --git a/docs/dev-ops/frpc/config/frpc.toml b/docs/dev-ops/frpc/config/frpc.toml index 513ca6c..c928143 100644 --- a/docs/dev-ops/frpc/config/frpc.toml +++ b/docs/dev-ops/frpc/config/frpc.toml @@ -22,8 +22,8 @@ name = "smile-dev-tech-02" # 代理类型 有tcp\udp\stcp\p2p type = "tcp" # 客户端代理应用IP -localIP = "127.0.0.1" +localIP = "host.docker.internal" # 客户端代理应用端口 -localPort = 9001 +localPort = 8092 # 服务端反向代理端口;提供给外部访问 -remotePort = 9001 \ No newline at end of file +remotePort = 8092 \ No newline at end of file diff --git a/docs/dev-ops/frpc/docker-compose.yml b/docs/dev-ops/frpc/docker-compose.yml index 59ff0a5..80168e6 100644 --- a/docs/dev-ops/frpc/docker-compose.yml +++ b/docs/dev-ops/frpc/docker-compose.yml @@ -11,3 +11,4 @@ services: - "-c" - "/frpc.toml" network_mode: "host" + restart: unless-stopped