1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 22:08:39 +00:00
dockerfiles/frp/README.md

27 lines
682 B
Markdown
Raw Normal View History

2017-11-02 12:19:07 +00:00
frp
===
[frp][1] 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.
2017-11-09 09:49:37 +00:00
```yaml
2021-10-21 09:36:07 +00:00
version: "3.8"
services:
frps:
image: vimagick/frp
volumes:
2022-12-19 09:10:08 +00:00
- ./data:/opt/frp/etc
2021-11-08 08:16:06 +00:00
healthcheck:
test: ["CMD", "curl", "-f", "-u", "admin:admin", "http://127.0.0.1:7500/healthz"]
interval: 1m
timeout: 5s
2021-10-21 09:36:07 +00:00
network_mode: host
restart: unless-stopped
2017-11-09 09:49:37 +00:00
```
2017-11-02 12:19:07 +00:00
2018-02-10 04:24:56 +00:00
Sample config file: [frps.ini][2]
2017-11-02 12:19:07 +00:00
[1]: https://github.com/fatedier/frp
2018-02-10 04:24:56 +00:00
[2]: https://github.com/fatedier/frp/blob/master/conf/frps_full.ini