mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-05-13 22:06:55 +02:00
update frp
This commit is contained in:
parent
a89af75691
commit
a58fb4cc05
@ -5,5 +5,17 @@ frp
|
|||||||
or firewall to the internet. Now, it supports tcp, udp, http and https protocol
|
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.
|
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
|
[1]: https://github.com/fatedier/frp
|
||||||
|
@ -8,6 +8,6 @@ privilege_token = 12345678
|
|||||||
type = tcp
|
type = tcp
|
||||||
local_ip = 127.0.0.1
|
local_ip = 127.0.0.1
|
||||||
local_port = 22
|
local_port = 22
|
||||||
remote_port = 6000
|
remote_port = 20000
|
||||||
use_encryption = true
|
use_encryption = true
|
||||||
use_compression = true
|
use_compression = true
|
||||||
|
@ -4,6 +4,7 @@ frps:
|
|||||||
- "7000:7000/tcp"
|
- "7000:7000/tcp"
|
||||||
- "7000:7000/udp"
|
- "7000:7000/udp"
|
||||||
- "7500:7500/tcp"
|
- "7500:7500/tcp"
|
||||||
|
- "127.0.0.1:20000-20099:20000-20099/tcp"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/frps.ini:/opt/frp/frps.ini
|
- ./data/frps.ini:/opt/frp/frps.ini
|
||||||
restart: always
|
restart: always
|
||||||
|
Loading…
x
Reference in New Issue
Block a user