README.md
This commit is contained in:
44
README.md
44
README.md
@@ -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.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
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 .
|
|
||||||
```
|
|
||||||
|
|||||||
Reference in New Issue
Block a user