1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-02-21 19:48:28 +02:00

update frp

This commit is contained in:
kev 2017-11-09 17:49:37 +08:00
parent a89af75691
commit a58fb4cc05
3 changed files with 14 additions and 1 deletions

View File

@ -5,5 +5,17 @@ frp
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
frps:
image: vimagick/frp
ports:
- "7000:7000/tcp"
- "7000:7000/udp"
- "7500:7500/tcp"
- "127.0.0.1:20000-20099:20000-20099/tcp"
volumes:
- ./data/frps.ini:/opt/frp/frps.ini
restart: always
```
[1]: https://github.com/fatedier/frp

View File

@ -8,6 +8,6 @@ privilege_token = 12345678
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000
remote_port = 20000
use_encryption = true
use_compression = true

View File

@ -4,6 +4,7 @@ frps:
- "7000:7000/tcp"
- "7000:7000/udp"
- "7500:7500/tcp"
- "127.0.0.1:20000-20099:20000-20099/tcp"
volumes:
- ./data/frps.ini:/opt/frp/frps.ini
restart: always