Skip to content
/ frp Public

基于原版frp内网穿透客户端frpc/frps的 docker镜像。支持群晖NAS,Linux服务器等多种容器环境部署。

License

Notifications You must be signed in to change notification settings

wnwd/frp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

frp

frp frp

Unofficial docker image packaging for Frp.

Supported architecture:

  • amd64
  • arm32v6
  • arm32v7
  • arm64v8

Usage

Direct run:

start frps

docker run -d \
--name frps \
--network host \
--restart=always \
-e CONF_TYPE=yml \
-v ./conf:/etc/frp \
wnwd/frps:latest

# modify your config file (located ./conf/frps.yml / json / toml)

docker restart frps

start frpc

docker run -d \
--name frpc \
--network host \
--restart=always \
-e CONF_TYPE=yml \
-v ./conf:/etc/frp \
wnwd/frpc:latest

# modify your config file (located ./conf/frpc.yml / json / toml)

docker restart frps

Docker compose:

frps:

# docker-compose.yml
version: '3'
services:
  Frp:
    image: 'wnwd/frps:latest'
    container_name: frps
    restart: unless-stopped
    environment:
      CONF_TYPE: 'yml'
      # CONF_TYPE: 'toml'
      # CONF_TYPE: 'json'
    volumes:
      - ./conf:/etc/frp
    network_mode: 'host'

frpc:

# docker-compose.yml
version: '3'
services:
  Frp:
    image: 'wnwd/frpc:latest'
    container_name: frpc
    restart: unless-stopped
    environment:
      CONF_TYPE: 'yml'
      # CONF_TYPE: 'toml'
      # CONF_TYPE: 'json'
    volumes:
      - ./conf:/etc/frp
    network_mode: 'host'
docker compose up -d
# modify your config file

docker restart frps # frpc

Notice:

Environment variable CONF_TYPE was optional, valid values include yml, json and toml, the defaule value was yml.

Update Timezone:

For example: Change timezone to Asia/Shanghai

docker exec -it apk add tzdata \
&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& echo "Shanghai/Asia" > /etc/timezone \
&& apk del tzdata

Quick reference

Website

  1. fatedier/frp

License

Apache 2.0

Last checked on: 2025 January , current frp version:v0.61.1 .

About

基于原版frp内网穿透客户端frpc/frps的 docker镜像。支持群晖NAS,Linux服务器等多种容器环境部署。

Resources

License

Stars

Watchers

Forks

Packages

No packages published