Wordpress & Docker. This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called 'docker-compose.yaml' and run the command $ docker-compose up -d # To Tear Down $ docker-compose down -volumes. Docker Pull Command. To install Sonarr using Docker, you will first need to grab the latest version of Sonarr container from the linuxserver Docker Hub.LinuxServer is a Docker repository with several HTPC and home server app containers.
Setup HomeAssistant on QNAP Container using Docker
Lets begin by making the Home Assistant installation, find it on QNAP Container Station. Go to the ‘Create’ menu, search ‘homeassistant’ in the search bar, make sure you select the ‘Docker Hub’ tab as the ‘Recommended’ tab will shows an out of date version. You should see homeassistant/home-assistant click on ‘Install’ or ‘Create’.
I recommend that you manually select the highest version, ‘latest’ will choose the version you have currently installed as ‘latest’. This would help avoid getting confused, when you wish to update HomeAssistant, the latest at the moment is 0.112.4.
Add a new “TZ” environment to set your TimeZone, check out the List of tz database time zones
Set a static volume for the container to use, I just use QNAP “New Volume” directory. You can make your own volume using “Volume from host”, though I find permissions being a problem on some docker. For this example I shall make a folder ‘homeassistant-config’ that will point to the docker ‘/config’ folder.
Remember to expose the container 8123 port to any host port, can set it as 8123 if you wish.
You should have the basic installation ready at [I.P Address]:[Port].
You now have HomeAssistant running.
Add QNAP Sensor
What do HomeAssistant do for you and your QNAP? You can have it to monitor multiple QNAP all in one place, let me show you how.
You need to create a homeassistant account that is admin, it doesn’t need any other access but just being admin. So you can deny all “Application Privileged” and “Shared Folder Permissions”. This account will be used for HomeAssistant to login and check the status of the device.
Go to FileStation and get to the homeassistant-config volume, it is located in a nested directory.
We need to add the user details for HomeAssistant, it is best to put these details in the ‘secrets.yaml’.
Create a new yaml file called sensors.yaml, easier to just copy and paste any yaml file and rename it. The sensors file is used to provide any sensor device for HomeAssistant to monitor, for example we want to use the QNAP integration sensor. https://www.home-assistant.io/integrations/qnap/
For good practices do not put your configurations such as username and password outside of the secret file, otherwise it can be read in plain text. HomeAssistant will know that ‘!secret” means to get the config parameter from the secrets.yaml file. You can use ‘#’ to comment out unneeded things to monitor.
Edit the configuration file to include the sensors.yaml file for sensor.
Restart HomeAssistant, either through HomeAssistant by Configuration>Server Control>Restart or just restart the container.
You should see all the sensors available for your QNAP
You can make the interface much better by ‘Configure UI’
It will warn you that HomeAssistant will manage the layout for you, just press ‘Take Control’
Wordpress Docker Image Setup
First step add ‘Gauge’ card.
You will be able to select which ever entity of the sensor to display as a gauge, RAM and Volumes are great to be displayed as gauges but it’s personal preference.
How about displaying CPU temperature, we can just use a sensor card.
This will display the temperature in a simple layout.
I prefer to have a line graph for extra details.
Now that you understand how to add basic cards on the screen, the cards seems to waste alot of space for one card. There is the horizontal stack that you can used to group these cards.
Due to the complexity of this card, you have to manually add the config yourself.
For example to show the System Temp, CPU Temp and CPU load you add this:
If you want to go crazy you can use ‘Picture Elements’ to have image background with entity on top. Here’s example how I set up my QNAP switch summary cards.
Save this image, and put them in the ‘homeassistant-config’ folder, and then you make ‘www’ folder and then an ‘images’ folder
Make a ‘Horizontal Stack’ card in manual, here is a conditional element to check if the entity exist before displaying. Useful in prevent empty bays being displayed.
You would need to restart HomeAssistant for it to see the new ‘www/images/’ folder. Once done you get this.
Additional custom cards in another post:
8 Responses
Wordpress Docker Install Nano
Wordpress Docker Install
Hi!,
My qnap server is running in http://192.168.0.166:8082/cgi-bin/. Home assistant is running on a dock. I can access it with http://192.168.0.166:8123/
I configure:
But in my HA log:
Any idea??
Thanks!
Hi,
first thank you for making this installation very simple with clear explanation !
just like to understand if it’s not an issue to get the HA version without the supervisor in the long run? (I’m new to HA but I noticed the qnap docker is only the core version)
Very nice this guide.
Tested with TS-251A, no errors, but no “sensors.” created.
Is it possible to do something?Great tutorial, thank you!
Zoom for macbook. MacRumors forum member 'acidfast7redux,' who resides in the UK, spent most of their work day today on Zoom video calls using their new MacBook Air with the M1 chip and 8GB of memory. Your MacBook Air comes with 90 days of complimentary technical support and a one-year limited warranty. Purchase AppleCare+ to extend your coverage to three years from your AppleCare+ purchase date and add up to two incidents of accidental damage coverage every 12 months, each subject to a service fee of $99 for screen damage or external enclosure damage, or $299 for other repairable damage. Why your MacBook webcam looks bad in Zoom meetings and how to fix it. Even the best laptops can be saddled with lousy cameras. Drawing attention away from the flaws is the key to looking your best. Here are some of the best Zoom backgrounds you can use to spice up your video calls. Note: If your camera is set to a 16:9 aspect ratio, an image of 1,280 x 720 or 1,920 x 1,080 pixels works well. I tested the app on my MacBook while in a Zoom call, and it works great! Akrit I love it as it can be positioned next to my iMac camera and my eyes became level off nicely when recording.
After the installation it didn’t discover any devices. I changed the network settings (and the port number) and now it works.
Internet Download Manager by Tonec Inc. Is one of the most popular and feature-rich download managers worldwide. Unfortunately, there isn't Internet Download Manager for Mac among the versions released by the official developer. DownThemAll!, Neat Download Manager for Mac, and JDownloader 2 are probably your best bets out of the 11 options considered. 'Increase download speeds' is the primary reason people pick DownThemAll! Over the competition. This page is powered by a knowledgeable community that helps you make an informed decision. Internet Download Manager is a popular video downloader tool. However, Internet Download Manager for Mac is not available. So if you are using a Mac, you need to look for an altneriave to Internet Download Manager to download videos on Mac. Below we help you to pick up the best IDM for Mac alternative to download videos on Mac with ease. Jdownloader is an open-source download manager for Mac that is platform-independent. It’s written in Java that can make it slow on startup. This manager is mainly optimized for one-click hosting and sharing solutions like Rapidshare or Megaupload. This app is great for someone who wants to paste encrypted links from third-party websites. Internet Download Manager (IDM) is a tool to increase download speeds by up to 5 times, resume and schedule downloads. Comprehensive error recovery and resume capability will restart broken or interrupted downloads due to lost connections, network problems, computer shutdowns, or unexpected power outages. Internet down manager mac.
See here: https://community.home-assistant.io/t/integrations-not-automatically/283680/3?u=stenci
Why are you suggesting NAT rather than Host?