[PR #5003] [CLOSED] add default config path (-c) for Dockerfiles #5099

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/5003
Author: @mrasong
Created: 9/29/2025
Status: Closed

Base: devHead: dev


📝 Commits (1)

  • bf0c0ea add default config path (-c) for Dockerfiles

📊 Changes

2 files changed (+4 additions, -0 deletions)

View changed files

📝 dockerfiles/Dockerfile-for-frpc (+2 -0)
📝 dockerfiles/Dockerfile-for-frps (+2 -0)

📄 Description

The Dockerfiles do not contain a default config file (-c). When use docker-compose.yml, you must config command: ["-c", "/etc/frp/frps.toml"], this sucks.

Add this to default, and then become much more clearer.

services:
  frps:
    container_name: frps
    image: ghcr.io/fatedier/frps:v0.65.0
    restart: always
    volumes:
      - ./frps.toml:/etc/frp/frps.toml
    ports:
      - "7000:7000"
services:
  frpc:
    container_name: frpc
    image: ghcr.io/fatedier/frpc:v0.65.0
    restart: always
    volumes:
      - ./frpc.toml:/etc/frp/frpc.toml
    ports:
      - "7400:7400"

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fatedier/frp/pull/5003 **Author:** [@mrasong](https://github.com/mrasong) **Created:** 9/29/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`bf0c0ea`](https://github.com/fatedier/frp/commit/bf0c0ea5c082b8b1304616e536b43b638aa10cbd) add default config path (-c) for Dockerfiles ### 📊 Changes **2 files changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `dockerfiles/Dockerfile-for-frpc` (+2 -0) 📝 `dockerfiles/Dockerfile-for-frps` (+2 -0) </details> ### 📄 Description The `Dockerfiles` do not contain a default config file (`-c`). When use `docker-compose.yml`, you must config `command: ["-c", "/etc/frp/frps.toml"]`, this sucks. Add this to default, and then become much more clearer. ``` services: frps: container_name: frps image: ghcr.io/fatedier/frps:v0.65.0 restart: always volumes: - ./frps.toml:/etc/frp/frps.toml ports: - "7000:7000" ``` ``` services: frpc: container_name: frpc image: ghcr.io/fatedier/frpc:v0.65.0 restart: always volumes: - ./frpc.toml:/etc/frp/frpc.toml ports: - "7400:7400" ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:54:43 -06:00
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#5099
No description provided.