以docker-compose安装frp

docker-compose.yml

1
2
3
4
5
6
7
8
9
10
version: '3'
services:
frps:
container_name: frps
image: snowdreamtech/frps
volumes:
- ./frps.ini:/etc/frp/frps.ini
restart: unless-stopped
privileged: true
network_mode: host

frps.ini

1
2
3
4
5
6
7
8
[common]
bind_port = 7000
vhost_http_port = 80
vhost_https_port = 443
token =
dashboard_port = 7500
dashboard_user = admin
dashboard_pwd = admin