mirror of
https://gitee.com/kennylee/docker.git
synced 2024-12-02 03:48:15 +08:00
把frp的docker-compose文件中的network_mode改成host。
This commit is contained in:
parent
4c2b286043
commit
4422096811
@ -2,6 +2,7 @@ version: '2'
|
||||
services:
|
||||
app:
|
||||
image: registry.cn-hangzhou.aliyuncs.com/kennylee/frp
|
||||
network_mode: "host"
|
||||
volumes:
|
||||
- ./frpc.ini:/data/frp/frpc.ini:z
|
||||
restart: always
|
||||
|
@ -3,10 +3,7 @@ services:
|
||||
app:
|
||||
image: registry.cn-hangzhou.aliyuncs.com/kennylee/frp
|
||||
container_name: frps
|
||||
ports:
|
||||
- "7000:7000"
|
||||
- "8080:8080"
|
||||
- "7500:7500"
|
||||
network_mode: "host"
|
||||
volumes:
|
||||
- ./frps.ini:/data/frp/frps.ini:z
|
||||
restart: always
|
||||
|
Loading…
Reference in New Issue
Block a user