README.md

This commit is contained in:
2024-08-31 03:17:33 +01:00
parent 9ed47a4605
commit 61d2fa83dd

View File

@@ -31,8 +31,9 @@ Currently runs on docker hosted at [homesrv01](#hosting). All necessary docker c
- [Sun](#sun) - [Sun](#sun)
- [Time \& Date](#time--date) - [Time \& Date](#time--date)
- [Xbox](#xbox) - [Xbox](#xbox)
- [Hosting](#hosting) - [Docker](#docker)
- [Editing and Maintenance](#editing-and-maintenance) - [volumes](#volumes)
- [has\_config](#has_config)
## Devices ## Devices
@@ -244,43 +245,16 @@ Home Assistant authenticates with Xbox Live through OAuth2 using the Home Assist
- [Home Assistant - Official integration documentation](https://www.home-assistant.io/integrations/xbox) - [Home Assistant - Official integration documentation](https://www.home-assistant.io/integrations/xbox)
## Hosting ## Docker
Currently hosted on [homesrv01.dev.lan](marcio.fernandes/homesrv01.dev.lan).
Using [portainer stack (name: has)](./docker-compose.yaml) connected to this repo. Using [portainer stack (name: has)](./docker-compose.yaml) connected to this repo.
![portainer - home assistant](documentation/images/portainer-has.png) ![portainer - home assistant](doc/images/portainer-has.png)
Docker volumes should be restored from backups. Currently hosted on [homesrv01.dev.lan](marcio.fernandes/homesrv01.dev.lan).
Repo version of docker volumes exists only for history and documentation.
## Editing and Maintenance ### volumes
Using code server docker container on homesrv01 with volume has_config bind to repo folder volumes/config. #### has_config
```yaml Check home assistant [config files repo](/marcio.fernandes/homeassistant.config).
---
version: '3'
services:
code-server:
....
volumes:
....
- has_config:/config/workspace/has/volumes/config
....
volumes:
...
has_config:
name: has_app_config
...
```
On code server workspace.
```bash
cd /config/workspace
mkdir has
cd has
git clone ssh://git@git.limbosolutions.com:2222/marcio.fernandes/homeAssistant.git .
```