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)
|
||||
- [Time \& Date](#time--date)
|
||||
- [Xbox](#xbox)
|
||||
- [Hosting](#hosting)
|
||||
- [Editing and Maintenance](#editing-and-maintenance)
|
||||
- [Docker](#docker)
|
||||
- [volumes](#volumes)
|
||||
- [has\_config](#has_config)
|
||||
|
||||
## 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)
|
||||
|
||||
## Hosting
|
||||
|
||||
Currently hosted on [homesrv01.dev.lan](marcio.fernandes/homesrv01.dev.lan).
|
||||
## Docker
|
||||
|
||||
Using [portainer stack (name: has)](./docker-compose.yaml) connected to this repo.
|
||||
|
||||

|
||||

|
||||
|
||||
Docker volumes should be restored from backups.
|
||||
Repo version of docker volumes exists only for history and documentation.
|
||||
Currently hosted on [homesrv01.dev.lan](marcio.fernandes/homesrv01.dev.lan).
|
||||
|
||||
## Editing and Maintenance
|
||||
### volumes
|
||||
|
||||
Using code server docker container on homesrv01 with volume has_config bind to repo folder volumes/config.
|
||||
#### has_config
|
||||
|
||||
```yaml
|
||||
---
|
||||
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 .
|
||||
```
|
||||
Check home assistant [config files repo](/marcio.fernandes/homeassistant.config).
|
||||
|
||||
Reference in New Issue
Block a user