1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00
dockerfiles/frp
2022-12-19 17:02:55 +08:00
..
data upgrade frpc to 0.29.0 2019-10-21 08:55:22 +08:00
launchd add frpc.plist 2018-01-18 16:28:09 +08:00
openwrt update frp 2022-11-08 18:27:36 +08:00
systemd fix typo 2019-07-15 11:35:09 +08:00
docker-compose.yml update frp 2021-11-08 16:16:06 +08:00
Dockerfile update frp 2022-12-19 17:02:55 +08:00
README.md update frp 2021-11-08 16:16:06 +08:00

frp

frp is a fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet. Now, it supports tcp, udp, http and https protocol when requests can be forwarded by domains to backward web services.

version: "3.8"
services:
  frps:
    image: vimagick/frp
    volumes:
      - ./data/frps.ini:/opt/frp/frps.ini
    healthcheck:
      test: ["CMD", "curl", "-f", "-u", "admin:admin", "http://127.0.0.1:7500/healthz"]
      interval: 1m
      timeout: 5s
    network_mode: host
    restart: unless-stopped

Sample config file: frps.ini