Update docker-compose.yml (#218)

Node red does not work well when it is on bridge mode with other tools
such as HomeBridge and HomeAssistant. Running it on host mode solves
problem. The other alternative is to have both on same network but this
one is better since homebridge asks host mode specifically which is one
of the main integration which people use with Node-Red. Update Node-Red
compose file network_mode
This commit is contained in:
raller1028 2023-07-18 10:51:04 +08:00 committed by GitHub
parent 1ca70aa0e0
commit ee85a6f597
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ services:
resources: resources:
reservations: reservations:
memory: 64M memory: 64M
network_mode: bridge network_mode: host
ports: ports:
- target: 1880 - target: 1880
published: "1880" published: "1880"