VaalaCat / frp-panel

a multi node frp webui and for [frp](https://github.com/fatedier/frp) server and client management, which makes this project a Cloudflare Tunnel or Tailscale Funnel open source alternative
GNU General Public License v3.0
576 stars 44 forks source link

关于注册 #21

Open duncai233 opened 6 months ago

duncai233 commented 6 months ago

我觉得可以移除注册,在首次登录面板时可以填写管理员账号密码,其他的账号都在管理员里进行操作

duncai233 commented 5 months ago

那么多用户,该如何开启? 我用的docker 部署

VaalaCat commented 5 months ago

在运行时添加一行 APP_ENABLE_REGISTER=true 例子

docker run -d \
    --network=host \
    --restart=unless-stopped \
    -v /opt/frp-panel:/data \
    -e APP_ENABLE_REGISTER=true \
    -e APP_GLOBAL_SECRET=your_secret \ # Master的secret注意不要泄漏,客户端和服务端的是通过Master生成的
    -e MASTER_RPC_HOST=0.0.0.0 \ # 这里要改成你服务器的外部IP
    vaalacat/frp-panel
duncai233 commented 5 months ago

ok 明白了