some changes

This commit is contained in:
Márcio Fernandes
2024-08-24 00:21:20 +01:00
parent cdc7f5f011
commit c7688f65d9
5 changed files with 37 additions and 20 deletions
+2 -11
View File
@@ -1,14 +1,5 @@
name: deploy zigbee2mqtt
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
tags:
description: 'Test scenario tags'
name: deploy
on: [push]
jobs:
deploy:
runs-on: "homesrv01"
+1
View File
@@ -5,3 +5,4 @@ lib/*
lib2/*
services/zigbee2mqtt/volumes/*
*.env
.vscode/settings.json
Executable → Regular
+3 -2
View File
@@ -5,8 +5,8 @@ doWork(){
apt upgrade -y
$scriptPath/../services/code-server/docker-run.sh
$scriptPath/../services/nginx/docker-run.sh
$scriptPath/../services/wyoming-faster-whisper/docker-run.sh
$scriptPath/../services/wyoming-piper/docker-run.sh
#$scriptPath/../services/wyoming-faster-whisper/docker-run.sh
#$scriptPath/../services/wyoming-piper/docker-run.sh
docker image prune -f
}
doWork 2>&1 | logger -s -t "auto-update"
@@ -14,3 +14,4 @@ exit 0
+6 -6
View File
@@ -15,8 +15,8 @@ services:
- code-server_root:/root
- 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
- 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_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
- zigbee2mqtt_data:/config/workspace/host/repos/homesrv01.dev.lan/services/zigbee2mqtt/volumes/data
- hostfs:/mnt/hostfs
networks:
@@ -36,10 +36,10 @@ volumes:
external: true
hostfs:
external: true
mosquitto_config:
external: true
mosquitto_data:
external: true
#mosquitto_config:
# external: true
#mosquitto_data:
# external: true
networks:
code:
reverseproxy_public:
+24
View 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: