Skip to content

Commit 675cf35

Browse files
IoTServmatteriot
andauthored
Change network_mode from bridge to host for ease of use (#701)
Already tested. It is convenient to fill in the host address of other services on the client side, so that users do not have to worry about filling in the host address of other services, and can directly use 127.0.0.1 as the host address of other services. Co-authored-by: Yu Fang <[email protected]>
1 parent d14c5f0 commit 675cf35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Apps/Gateway-go/docker-compose.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: gateway-go
22
services:
33
gateway-go:
44
image: openiothub/gateway-go:v0.3.18
5-
network_mode: bridge
5+
network_mode: host
66
deploy:
77
resources:
88
reservations:
9-
memory: "64M"
9+
memory: "32M"
1010
labels:
1111
icon: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Gateway-go/icon.png
1212
restart: unless-stopped
@@ -45,7 +45,7 @@ x-casaos:
4545
zh_cn: |
4646
云亿连内网穿透工具的内网网关,帮助用户随时随地访问本设备所在网络,支持http和ssh等众多协议,在有条件的情况下优先使用p2p直连网络,支持安卓、iOS、Windows、macOS、Linux客户端访问。
4747
48-
使用云亿连客户端扫描本应用提供的二维码添加本网关,在客户端上添加主机,然后添加端口。 这样你在外面就可以通过云亿连App访问你的 CasaOS/Zima 设备了。
48+
使用云亿连客户端扫描本应用提供的二维码添加本网关,在客户端上添加主机,然后添加端口。 这样你在外面就可以通过云亿连App访问你的 CasaOS/Zima 设备了。使用文档:https://docs.iothub.cloud/typical/index.html#casaoszimaos
4949
developer: iotserv
5050
icon: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Gateway-go/icon.png
5151
screenshot_link:

0 commit comments

Comments
 (0)