[GH-ISSUE #4854] Docker指定配置文件问题 #3829

Closed
opened 2026-05-05 14:26:58 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @liuzhenghang on GitHub (Jun 26, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4854

Bug Description

在最新的frps的docker镜像中,指定toml配置文件,但是依然默认使用内置的ini文件,以下是compose

version: '3.8'

services:
frps:
image: snowdreamtech/frps:latest # 可替换为你自己的镜像
container_name: frps
restart: always
network_mode: host
volumes:
- /www/wwwroot/frps.qxhua21.cn/frp_0.52.0_linux_amd64/frps.toml:/etc/frp/frps.toml
command: frps -c /etc/frp/frps.toml

frpc Version

null

frps Version

0.6x

System Architecture

linux/amd64

Configurations

bindPort = 5001
kcpBindPort = 5001
auth.token = "*****"
vhostHTTPPort = 82
vhostHTTPSPort = 4432

webServer.addr = "0.0.0.0"
webServer.port = 8081
webServer.user = ""
webServer.password = "
"

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @liuzhenghang on GitHub (Jun 26, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4854 ### Bug Description 在最新的frps的docker镜像中,指定toml配置文件,但是依然默认使用内置的ini文件,以下是compose version: '3.8' services: frps: image: snowdreamtech/frps:latest # 可替换为你自己的镜像 container_name: frps restart: always network_mode: host volumes: - /www/wwwroot/frps.qxhua21.cn/frp_0.52.0_linux_amd64/frps.toml:/etc/frp/frps.toml command: frps -c /etc/frp/frps.toml ### frpc Version null ### frps Version 0.6x ### System Architecture linux/amd64 ### Configurations bindPort = 5001 kcpBindPort = 5001 auth.token = "*****" vhostHTTPPort = 82 vhostHTTPSPort = 4432 webServer.addr = "0.0.0.0" webServer.port = 8081 webServer.user = "*****" webServer.password = "*****" ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [x] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:26:58 -06:00
Author
Owner

@github-actions[bot] commented on GitHub (Jul 11, 2025):

Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.

<!-- gh-comment-id:3059736079 --> @github-actions[bot] commented on GitHub (Jul 11, 2025): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
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#3829
No description provided.