Skip to content

Latest commit

 

History

History
67 lines (55 loc) · 1.5 KB

README.md

File metadata and controls

67 lines (55 loc) · 1.5 KB

Build status GitHub tag (latest by date) Docker Pulls
arm32v7 arm64v8 amd64

About

Docker containers for fatedier/frp. Support arm32v7, arm64v8 and amd64.

Usage of frps

  • Get help
$ docker run --rm sanjusss/frp:frps --help
  • Start server
$ docker run -d --name some-fprs \
    -v /some/conf:/conf \
    --net=host \
    sanjusss/frp:frps -c /conf/frps.ini

docker-compose.yml

version: '2'
services:
    frps:
        image: sanjusss/frp:frps-0.27.1
        restart: always
        network_mode: "host"
        volumes:
            - "./frps.ini:/frps/frps.ini"

Usage of frpc

  • Get help
$ docker run --rm sanjusss/frp:frpc --help
  • Start client
$ docker run -d --name some-fprc \
    -v /some/conf:/conf \
    --net=host \
    sanjusss/frp:frpc -c /conf/frpc.ini

docker-compose.yml

version: '2'
services:
    frpc:
        image: sanjusss/frp:frpc-0.27.1
        restart: always
        network_mode: "host"
        volumes:
            - "./frpc.ini:/frpc/frpc.ini"