Sign inSign up

raymond17/frps

By raymond17

Updated over 2 years ago

A frp server (frps) container.

Image
0

629

raymond17/frps repository overview

raymond17/frps

Frp is a fast reverse proxy to help you expose a local server behind a NAT or firewall to the Internet. As of now, it supports TCP and UDP, as well as HTTP and HTTPS protocols, where requests can be forwarded to internal services by domain name.

frp also has a P2P connect mode.

Usage

Here are some example snippets to help you get started creating a container.

The frps.ini file will be generated in /path/to/data when starting the container if not exists.

docker-compose

Compatible with docker-compose v2 schemas.

---
version: "2.1"
services:
  frps:
    image: raymond17/frps
    container_name: frps
    network_mode: host
    environment:
      - TZ=Asia/Shanghai
        # frps.ini bind_addr
      - FRP_BIND_ADDR=0.0.0.0
        # frps.ini bind_port
      - FRP_BIND_PORT=7000
        # frps.ini token
      - FRP_TOKEN=
    volumes:
      - /path/to/data:/data
    restart: unless-stopped
docker cli
docker run -d \
  --name=frps \
  -e FRP_BIND_ADDR=0.0.0.0 \
  -e FRP_BIND_PORT=7000 \
  -e FRP_TOKEN= \
  --network host \
  -v /path/to/data:/data \
  --restart unless-stopped \
  raymond17/frps

Tag summary

Content type

Image

Digest

sha256:575addfbf

Size

40.2 MB

Last updated

over 2 years ago

docker pull raymond17/frps