added readme content
This commit is contained in:
26
README.md
26
README.md
@@ -7,12 +7,34 @@ Zigbee smarthome stack
|
|||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
|
### 1. Create LXC in Proxmox
|
||||||
|
|
||||||
|
```title="Proxmox helper script"
|
||||||
|
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/docker.sh)"
|
||||||
```
|
```
|
||||||
./scripts/setup.sh
|
|
||||||
|
### 2. Clone repo
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone https://gitea.john-stream.com/john/zigbee-stack
|
||||||
|
```
|
||||||
|
|
||||||
|
### 3. Setup script
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./zigbee-stack/scripts/setup.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Process:
|
Process:
|
||||||
|
|
||||||
- clears all the existing data, except certain files
|
- clears all the existing data, except certain files
|
||||||
- asks for a new MQTT password, which gets saved in `./zigbee2mqtt/secret.yaml`
|
- asks for a new MQTT password, which gets saved in `./zigbee2mqtt/secret.yaml`
|
||||||
- runs `docker compose up ...`
|
- runs `docker compose up ...`
|
||||||
|
|
||||||
|
### 4. Mount backup
|
||||||
|
|
||||||
|
Mount from within Proxmox using the `pct` tool
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pct set 101 -mp0 /mnt/docker_volume_backups/zigbee,mp=/mnt/backups
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user