From 50f209b6b21f4f7ab15e29c82ebe0d43b74b548e Mon Sep 17 00:00:00 2001 From: Pascal Martin Date: Sat, 20 Nov 2021 10:04:14 -0800 Subject: [PATCH] Add minimal docker documentation --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index c2305db..97aa136 100644 --- a/README.md +++ b/README.md @@ -76,3 +76,7 @@ All these computers must be on the same subnet (UDP broadcast is involved for di The HouseSprinkler configuration is defined in a JSON file, by default /etc/house/sprinkler.json. However the proper way to configure is to access the Config page on the sprinkler's web UI. Do not forget to configure [houserelays](https://github.com/pascal-fb-martin/houserelays) first. +## Docker + +The project supports a Docker container build, which was tested on an ARM board running Debian. To make it work, all the house containers should be run in host network mode (`--network host` option). This is because of the way [houseportal](https://github.com/pascal-fb-martin/houseportal) manages access to each service: using dynamically assigned ports does not mesh well with Docker's port mapping. +