Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker 模式下 如何指定yaml配置文件 #4048

Closed
11 tasks
farrant opened this issue Mar 8, 2024 · 1 comment
Closed
11 tasks

docker 模式下 如何指定yaml配置文件 #4048

farrant opened this issue Mar 8, 2024 · 1 comment

Comments

@farrant
Copy link

farrant commented Mar 8, 2024

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
Copy link

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

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant