some changes

This commit is contained in:
2024-08-24 00:21:20 +01:00
parent cdc7f5f011
commit c7688f65d9
5 changed files with 37 additions and 20 deletions

View File

@@ -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"

3
.gitignore vendored
View File

@@ -4,4 +4,5 @@ services/mosquitto
lib/* lib/*
lib2/* lib2/*
services/zigbee2mqtt/volumes/* services/zigbee2mqtt/volumes/*
*.env *.env
.vscode/settings.json

5
scripts/auto-update.sh Executable file → Normal file
View 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

View File

@@ -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:

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: