mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-12 11:14:57 +02:00
23 lines
554 B
Markdown
23 lines
554 B
Markdown
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.
|
|
|
|
```yaml
|
|
version: "3.8"
|
|
services:
|
|
frps:
|
|
image: vimagick/frp
|
|
volumes:
|
|
- ./data/frps.ini:/opt/frp/frps.ini
|
|
network_mode: host
|
|
restart: unless-stopped
|
|
```
|
|
|
|
Sample config file: [frps.ini][2]
|
|
|
|
[1]: https://github.com/fatedier/frp
|
|
[2]: https://github.com/fatedier/frp/blob/master/conf/frps_full.ini
|