some changes
This commit is contained in:
@@ -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"
|
||||
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -4,4 +4,5 @@ services/mosquitto
|
||||
lib/*
|
||||
lib2/*
|
||||
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
|
||||
$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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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
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