version: '3.1'
services:
frp-client:
image: rimag/frp:client-0.22.0
network_mode: host
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
- /opt/frp/conf:/conf
[common]
# server setting
server_addr = x.x.x.x
server_port = 7000
# the sample
[ssh]
# tcp | udp | http | https | stcp | xtcp, default is tcp
type = tcp
local_ip = 127.0.0.1
local_port = 22
# use server port
remote_port = 6001
version: '3.1'
services:
frp-server:
image: rimag/frp:server-0.22.0
network_mode: host
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
- /opt/frp/conf:/conf
# host setting
bind_addr = 0.0.0.0
bind_port = 7000
# dashboard setting
dashboard_addr = 0.0.0.0
dashboard_port = 7500
dashboard_user = xxxx
dashboard_pwd = xxxx
Content type
Image
Digest
Size
4.3 MB
Last updated
almost 6 years ago
docker pull rimag/frp:client-0.34.3