Posts

Showing posts from 2022

Home Assistant in Docker with Nginx and Let's Encrypt on Raspberry Pi

Image
This guide will help to you to setup home assistant as a docker container and make it publicly available behind a ngix proxy, all running in containers. Additionally, we'll use certbot to keep your ssl certificates in sync and Duck DNS so that you access it even with a dynamic ip address. There we go... Dockerized Home Assistant behind Nginx with Let's Encrypt and DuckDNS :) This guide is partially based on the generic guide on how to install Ngix and Let's Encrypt by Philipp ( Nginx and Let’s Encrypt with Docker in Less Than 5 Minutes | by Philipp | Medium ) In order to start, please make sure you have the following setups done already Home Assistant installed as docker container and available under port 8123 Create a DuckDNS account and register your subdomain You know how to redirect a port from your router to the computer running docker We'll be using docker-compose, which is much simpler to use than the plain docker cli. If you are not familiar with docker-compose,