[GH-ISSUE #5005] 服务端docker从0.63升级到0.64 webServer部分不起作用 #3940

Closed
opened 2026-05-05 14:30:40 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @Firfr on GitHub (Sep 29, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/5005

Bug Description

2025-09-29 22:41:45.271 [I] [frps/root.go:110] frps uses command line arguments for config
2025-09-29 22:41:45.380 [I] [server/service.go:236] frps tcp listen on 0.0.0.0:7000
2025-09-29 22:41:45.380 [I] [frps/root.go:117] frps started successfully

看日志 配置文件没有起作用。但是相同配置在0.63版本没有问题

frpc Version

0.63

frps Version

0.64

System Architecture

docker/amd64

Configurations

compose文件内容

x-config: &config
  restart: always
  cpus: 1
  mem_limit: 512m
  logging:
    options:
      max-size: 1m
      max-file: "3"

services:
  frps:
    container_name: frps
    image: snowdreamtech/frps:0.63.0
    network_mode: host
    tty: true
    stdin_open: true
    <<: *config
    environment:
      TZ: Asia/Shanghai
      TIME_ZONE: Asia/Shanghai
    volumes:
      - ./frps.toml:/etc/frp/frps.toml

frps.toml 文件内容

# frps.toml - 服务端配置

# 基础配置
## frps 服务端-客户端 通讯端口
bindPort = 3010

# 安全配置
[auth]
method = "token"
## 请修改为复杂密码
token = "XXX"


# Web 管理界面(可选)
[webServer]
addr = "0.0.0.0"
## 管理界面端口
port = 3011
user = "XXX"
password = "XXX"

# 日志配置
[log]
to = "./frps.log"
level = "info"
maxDays = 7

Logs

No response

Steps to reproduce

上面的服务端配置,在0.63版本没问题,Web 管理界面可以打开,使用的是配置文件,为将镜像版本改成0.64后,会从命令行启动,没有使用配置文件,Web 管理界面没有

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @Firfr on GitHub (Sep 29, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/5005 ### Bug Description 2025-09-29 22:41:45.271 [I] [frps/root.go:110] frps uses command line arguments for config 2025-09-29 22:41:45.380 [I] [server/service.go:236] frps tcp listen on 0.0.0.0:7000 2025-09-29 22:41:45.380 [I] [frps/root.go:117] frps started successfully 看日志 配置文件没有起作用。但是相同配置在0.63版本没有问题 ### frpc Version 0.63 ### frps Version 0.64 ### System Architecture docker/amd64 ### Configurations ## compose文件内容 ```yaml x-config: &config restart: always cpus: 1 mem_limit: 512m logging: options: max-size: 1m max-file: "3" services: frps: container_name: frps image: snowdreamtech/frps:0.63.0 network_mode: host tty: true stdin_open: true <<: *config environment: TZ: Asia/Shanghai TIME_ZONE: Asia/Shanghai volumes: - ./frps.toml:/etc/frp/frps.toml ``` ## frps.toml 文件内容 ```toml # frps.toml - 服务端配置 # 基础配置 ## frps 服务端-客户端 通讯端口 bindPort = 3010 # 安全配置 [auth] method = "token" ## 请修改为复杂密码 token = "XXX" # Web 管理界面(可选) [webServer] addr = "0.0.0.0" ## 管理界面端口 port = 3011 user = "XXX" password = "XXX" # 日志配置 [log] to = "./frps.log" level = "info" maxDays = 7 ``` ### Logs _No response_ ### Steps to reproduce 上面的服务端配置,在0.63版本没问题,Web 管理界面可以打开,使用的是配置文件,为将镜像版本改成0.64后,会从命令行启动,没有使用配置文件,Web 管理界面没有 ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#3940
No description provided.