A tutorial how to build smart home from scratch. Still PoC.
Decision | Rationale | Status |
---|---|---|
big-picture | Want to track vision of the system with big picture. | TBD |
hosting/deployment | Want to host applications with docker - defined with docker compose. | (PR3)[#3] |
development | Verify development first. Need to use github actions to check it can use solution. | (PR4)[#4] |
SingleSingOn - homeassistant | enable SingleSingOn for HomeAssistant | (PR7)[#7] |
observability - logs | Push all logs to the one place to improve observability for the solution. | (PR8)[#8] |
- SSH development with VS Code
- dev environment on Azure VM
- want to make SSO for all applications
- one shared network for all composes
- most of the volumes are as local folders (TBD: need to check what about PROD env)
- single environment file for all composes
use docker-compose docker-compose.yml
with DEV
override - with sh command we copy the HA configuration to the destination folder
sh home-assistant-run.sh
docker-compose -f queue/docker-compose.yaml --env-file .env.dev up -d --force-recreate
docker-compose -f observability/docker-compose.yaml --env-file .env.dev up -d --force-recreate