some changes
This commit is contained in:
@@ -1,14 +1,5 @@
|
|||||||
name: deploy zigbee2mqtt
|
name: deploy
|
||||||
on:
|
on: [push]
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
logLevel:
|
|
||||||
description: 'Log level'
|
|
||||||
required: true
|
|
||||||
default: 'warning'
|
|
||||||
tags:
|
|
||||||
description: 'Test scenario tags'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: "homesrv01"
|
runs-on: "homesrv01"
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,3 +5,4 @@ lib/*
|
|||||||
lib2/*
|
lib2/*
|
||||||
services/zigbee2mqtt/volumes/*
|
services/zigbee2mqtt/volumes/*
|
||||||
*.env
|
*.env
|
||||||
|
.vscode/settings.json
|
||||||
|
|||||||
5
scripts/auto-update.sh
Executable file → Normal file
5
scripts/auto-update.sh
Executable file → Normal file
@@ -5,8 +5,8 @@ doWork(){
|
|||||||
apt upgrade -y
|
apt upgrade -y
|
||||||
$scriptPath/../services/code-server/docker-run.sh
|
$scriptPath/../services/code-server/docker-run.sh
|
||||||
$scriptPath/../services/nginx/docker-run.sh
|
$scriptPath/../services/nginx/docker-run.sh
|
||||||
$scriptPath/../services/wyoming-faster-whisper/docker-run.sh
|
#$scriptPath/../services/wyoming-faster-whisper/docker-run.sh
|
||||||
$scriptPath/../services/wyoming-piper/docker-run.sh
|
#$scriptPath/../services/wyoming-piper/docker-run.sh
|
||||||
docker image prune -f
|
docker image prune -f
|
||||||
}
|
}
|
||||||
doWork 2>&1 | logger -s -t "auto-update"
|
doWork 2>&1 | logger -s -t "auto-update"
|
||||||
@@ -14,3 +14,4 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -15,8 +15,8 @@ services:
|
|||||||
- code-server_root:/root
|
- code-server_root:/root
|
||||||
- has_config:/config/workspace/host/repos/homesrv01.dev.lan/services/has/volumes/config
|
- has_config:/config/workspace/host/repos/homesrv01.dev.lan/services/has/volumes/config
|
||||||
- ./../nginx/volumes/nginx_conf:/config/workspace/host/repos/homesrv01.dev.lan/services/nginx/volumes/nginx_conf
|
- ./../nginx/volumes/nginx_conf:/config/workspace/host/repos/homesrv01.dev.lan/services/nginx/volumes/nginx_conf
|
||||||
- mosquitto_config:/config/workspace/host/repos/homesrv01.dev.lan/services/mosquitto/volumes/config
|
#- mosquitto_config:/config/workspace/host/repos/homesrv01.dev.lan/services/mosquitto/volumes/config
|
||||||
- mosquitto_data:/config/workspace/host/repos/homesrv01.dev.lan/services/mosquitto/volumes/data
|
#- mosquitto_data:/config/workspace/host/repos/homesrv01.dev.lan/services/mosquitto/volumes/data
|
||||||
- zigbee2mqtt_data:/config/workspace/host/repos/homesrv01.dev.lan/services/zigbee2mqtt/volumes/data
|
- zigbee2mqtt_data:/config/workspace/host/repos/homesrv01.dev.lan/services/zigbee2mqtt/volumes/data
|
||||||
- hostfs:/mnt/hostfs
|
- hostfs:/mnt/hostfs
|
||||||
networks:
|
networks:
|
||||||
@@ -36,10 +36,10 @@ volumes:
|
|||||||
external: true
|
external: true
|
||||||
hostfs:
|
hostfs:
|
||||||
external: true
|
external: true
|
||||||
mosquitto_config:
|
#mosquitto_config:
|
||||||
external: true
|
# external: true
|
||||||
mosquitto_data:
|
#mosquitto_data:
|
||||||
external: true
|
# external: true
|
||||||
networks:
|
networks:
|
||||||
code:
|
code:
|
||||||
reverseproxy_public:
|
reverseproxy_public:
|
||||||
|
|||||||
24
services/wyoming/docker-compose.yaml
Normal file
24
services/wyoming/docker-compose.yaml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
version: '3.8'
|
||||||
|
services:
|
||||||
|
whisper:
|
||||||
|
image: rhasspy/wyoming-whisper
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- whisper_data:/data
|
||||||
|
ports:
|
||||||
|
- 10300:10300
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Lisbon
|
||||||
|
piper:
|
||||||
|
image: rhasspy/wyoming-piper
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- whisper_data:/data
|
||||||
|
- piper_data:/data
|
||||||
|
ports:
|
||||||
|
- 10200:10200
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Lisbon
|
||||||
|
volumes:
|
||||||
|
whisper_data:
|
||||||
|
piper_data:
|
||||||
Reference in New Issue
Block a user