Minor Synology docker documentation updates (#5843)

Minor updates based on my experience of installing Home Assistant on docker on a Synology NAS (DS218+) running DSM version 6.2-23739.
This commit is contained in:
BrendanMoran 2018-07-22 02:32:48 +10:00 committed by Fabian Affolter
parent d888de232a
commit fc8f2269e6

View File

@ -56,14 +56,14 @@ As Synology within DSM now supports Docker (with a neat UI), you can simply inst
The steps would be: The steps would be:
* Install "Docker" package on your Synology NAS * Install "Docker" package on your Synology NAS
* Launch Docker-app and move to "Registry"-section * Launch Docker-app and move to "Registry"-section
* Find "homeassistant/home-assistant" with registry and click on "Download" * Find "homeassistant/home-assistant" within registry and click on "Download". Choose the "latest" tag, this will make verison updates easier later on.
* Wait for some time until your NAS has pulled the image * Wait for some time until your NAS has pulled the image
* Move to the "Image"-section of the Docker-app * Move to the "Image"-section of the Docker-app
* Click on "Launch" * Click on "Launch"
* Choose a container-name you want (e.g., "homeassistant") * Choose a container-name you want (e.g., "homeassistant")
* Click on "Advanced Settings" * Click on "Advanced Settings"
* Set "Enable auto-restart" if you like * Set "Enable auto-restart" if you like
* Within "Volume" click on "Add Folder" and choose either an existing folder or add a new folder. The "mount point" has to be "/config", so that Home Assistant will use it for the configs and logs. * Within "Volume" click on "Add Folder" and choose either an existing folder or add a new folder. The "mount path" has to be "/config", so that Home Assistant will use it for the configs and logs.
* Within "Network" select "Use same network as Docker Host" * Within "Network" select "Use same network as Docker Host"
* To ensure that Home Assistant displays the correct timezone go to the "Environment" tab and click the plus sign then add `variable` = `TZ` & `value` = `Europe/London` choosing [your correct timezone](http://en.wikipedia.org/wiki/List_of_tz_database_time_zones) * To ensure that Home Assistant displays the correct timezone go to the "Environment" tab and click the plus sign then add `variable` = `TZ` & `value` = `Europe/London` choosing [your correct timezone](http://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
* Confirm the "Advanced Settings" * Confirm the "Advanced Settings"
@ -71,9 +71,9 @@ The steps would be:
* Your Home Assistant within Docker should now run and will serve the web interface from port 8123 on your Docker host (this will be your Synology NAS IP address - for example `http://192.168.1.10:8123`) * Your Home Assistant within Docker should now run and will serve the web interface from port 8123 on your Docker host (this will be your Synology NAS IP address - for example `http://192.168.1.10:8123`)
Remark: to update your Home Assistant on your Docker within Synology NAS, you just have to do the following: Remark: to update your Home Assistant on your Docker within Synology NAS, you just have to do the following:
* Go to the Docker-app and move to "Image"-section * Go to the Docker-app and move to "Registry"-section
* Download the "homeassistant/home-assistant" image - don't care, that it is already there * Find "homeassistant/home-assistant" within registry and click on "Download". Choose the "latest" tag, this will overwrite your current image to the latest version.
* wait until the system-message/-notification comes up, that the download is finished (there is no progress bar) * Wait until the system-message/-notification comes up, that the download is finished (there is no progress bar)
* Move to "Container"-section * Move to "Container"-section
* Stop your container if it's running * Stop your container if it's running
* Right-click on it and select "Action"->"Clear". You won't lose any data, as all files are stored in your config-directory * Right-click on it and select "Action"->"Clear". You won't lose any data, as all files are stored in your config-directory