SensorsIot / IOTstack

Docker stack for getting started on IOT on the Raspberry PI
GNU General Public License v3.0
1.43k stars 303 forks source link

Homer: Fix Template #636

Closed id10tapproved closed 1 year ago

id10tapproved commented 1 year ago

Summary

Updated template to latest defaults and recommendations, including:

Detailed Explanation

I discovered that the Homer wouldn't start with the default template as it had no assets defined. Adding the INIT_ASSETS env variable fixed this, but had permissions errors. In v2022.02.2 the method of assigning UID and GID was changed to user the docker user option (and not env var). These changes are discussed in Homer Issue 441 and Homer Issue 459, and Homer's troubleshooting page was also updated to reflect the new changes. Setting user to 1000:1000 did not work, but setting it to $UID:$GID, as mentioned in Issue 459, did assign the correct user to Homer