mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
fix frpc.ini
This commit is contained in:
parent
85e6c10a16
commit
b71287b5ac
@ -5,7 +5,7 @@ server_addr = %FRPC_SERVER_ADDR%
|
||||
server_port = %FRPC_SERVER_PORT%
|
||||
token = %FRPC_TOKEN%
|
||||
|
||||
[ssh]
|
||||
[ssh%FRPC_REMOTE_PORT%]
|
||||
type = tcp
|
||||
local_ip = 127.0.0.1
|
||||
local_port = 22
|
||||
|
@ -21,7 +21,7 @@ if [ -n "$frpc_server_port" ]; then
|
||||
# 启动frpc
|
||||
echo "Starting frpc..."
|
||||
docker rm $DOCKER_NAME -f
|
||||
docker run -it --name $DOCKER_NAME \
|
||||
docker run -d --name $DOCKER_NAME \
|
||||
--restart always \
|
||||
-w /root/pikascript \
|
||||
-e FRPC_REMOTE_PORT=$frpc_remote_port \
|
||||
|
Loading…
x
Reference in New Issue
Block a user