frp
frp copied to clipboard
docker 模式下 如何指定yaml配置文件
Bug Description
docker 模式下 无法指定yaml配置文件,默认使用toml格式文件 是否能够提供一个更改配置文件的环境变量
frpc Version
0.54.0
frps Version
0.54.0
System Architecture
linux/amd64
Configurations
version: '3'
services:
frps:
image: snowdreamtech/frps:0.54.0
container_name: frps
restart: unless-stopped
environment:
TZ: Asia/Shanghai
volumes:
# - ./conf/frps.ini:/etc/frp/frps.ini
- ./conf/frps.yaml:/etc/frp/frps.yaml
- ./logs/frps.log:/etc/frp/frps.log
network_mode: host
command: [ "frps", "-c", "/etc/frp/frps.yaml" ]
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