diff options
author | Dylan Bolger <dylan.bolger00@gmail.com> | 2024-04-28 00:31:28 -0500 |
---|---|---|
committer | Dylan Bolger <dylan.bolger00@gmail.com> | 2024-04-28 00:31:28 -0500 |
commit | 75a4dc69f9f9912cc6efa7d45299dc6802355c8d (patch) | |
tree | 7e5201c7b930baac86fcc122b8dbd8f66941b96c /internal | |
parent | a0f9825517624dc1355b0e7b0d9610163205e46d (diff) | |
download | pi-composition-75a4dc69f9f9912cc6efa7d45299dc6802355c8d.tar.xz pi-composition-75a4dc69f9f9912cc6efa7d45299dc6802355c8d.zip |
Diffstat (limited to 'internal')
-rw-r--r-- | internal/adguardhome/compose.yaml | 16 | ||||
-rw-r--r-- | internal/compose.yaml | 30 | ||||
-rw-r--r-- | internal/cu-energy-service/compose.yaml | 12 | ||||
-rw-r--r-- | internal/eclipse-mosquitto/compose.yaml | 14 | ||||
-rw-r--r-- | internal/faster-whisper/compose.yaml | 13 | ||||
-rw-r--r-- | internal/matter-server/compose.yaml | 13 | ||||
-rw-r--r-- | internal/openwakeword/compose.yaml | 16 | ||||
-rw-r--r-- | internal/piper/compose.yaml | 13 |
8 files changed, 127 insertions, 0 deletions
diff --git a/internal/adguardhome/compose.yaml b/internal/adguardhome/compose.yaml new file mode 100644 index 0000000..8cfb0c4 --- /dev/null +++ b/internal/adguardhome/compose.yaml @@ -0,0 +1,16 @@ +name: adguardhome +version: '3.8' +services: + adguardhome: + image: adguard/adguardhome + container_name: adguardhome + ports: + - "${ADGUARDHOME_DNS_PORT}:53/tcp" + - "${ADGUARDHOME_DNS_PORT}:53/udp" + - "${ADGUARDHOME_DOQ_PORT}:784/udp" + - "${ADGUARDHOME_DOT_PORT}:853/tcp" + - "${ADGUARDHOME_WEB_PORT}:3030/tcp" + volumes: + - "${ADGUARDHOME_WORK_PATH}:/opt/adguardhome/work" + - "${ADGUARDHOME_CONF_PATH}:/opt/adguardhome/conf" + restart: unless-stopped diff --git a/internal/compose.yaml b/internal/compose.yaml new file mode 100644 index 0000000..fa1af18 --- /dev/null +++ b/internal/compose.yaml @@ -0,0 +1,30 @@ +name: 'internal' +services: + adguardhome: + extends: + file: ./adguardhome/compose.yaml + service: adguardhome + cu-energy-service: + extends: + file: ./cu-energy-service/compose.yaml + service: cu-energy-service + matter-server: + extends: + file: ./matter-server/compose.yaml + service: matter-server + piper: + extends: + file: ./piper/compose.yaml + service: piper + openwakeword: + extends: + file: ./openwakeword/compose.yaml + service: openwakeword + faster-whisper: + extends: + file: ./faster-whisper/compose.yaml + service: faster-whisper + eclipse-mosquitto: + extends: + file: ./eclipse-mosquitto/compose.yaml + service: eclipse-mosquitto diff --git a/internal/cu-energy-service/compose.yaml b/internal/cu-energy-service/compose.yaml new file mode 100644 index 0000000..4c6db7b --- /dev/null +++ b/internal/cu-energy-service/compose.yaml @@ -0,0 +1,12 @@ +name: cu-energy-service +version: '3.8' +services: + cu-energy-service: + restart: always + container_name: cu-energy-service + image: energy-service + volumes: + - "/etc/timezone:/etc/timezone:ro" + - "/etc/localtime:/etc/localtime:ro" + ports: + - "${ENERGY_SERVICE_PORT}:80" diff --git a/internal/eclipse-mosquitto/compose.yaml b/internal/eclipse-mosquitto/compose.yaml new file mode 100644 index 0000000..1d193f9 --- /dev/null +++ b/internal/eclipse-mosquitto/compose.yaml @@ -0,0 +1,14 @@ +name: eclipse-mosquitto +version: '3.8' +services: + eclipse-mosquitto: + image: eclipse-mosquitto + container_name: eclipse-mosquitto + volumes: + - "${ECLIPSE_MQTT_ROOT_PATH}:/mosquitto" + - "${ECLIPSE_MQTT_CONFIG_PATH}:/mosquitto/config" + - "${ECLIPSE_MQTT_DATA_PATH}:/mosquitto/data" + - "${ECLIPSE_MQTT_LOG_PATH}:/mosquitto/log" + ports: + - ${MQTT_LISTEN_PORT}:1883 + - ${MQTT_WEBSOCKET_LISTEN_PORT}:9001 diff --git a/internal/faster-whisper/compose.yaml b/internal/faster-whisper/compose.yaml new file mode 100644 index 0000000..63d43db --- /dev/null +++ b/internal/faster-whisper/compose.yaml @@ -0,0 +1,13 @@ +name: faster-whisper +version: '3.8' +services: + faster-whisper: + image: rhasspy/wyoming-whisper + container_name: faster-whisper + ports: + - ${FASTER_WHISPER_PORT}:10300 + volumes: + - "${FASTER_WHISPER_DATA_PATH}:/data" + command: --model tiny-int8 --language en --beam-size 2 + restart: unless-stopped + diff --git a/internal/matter-server/compose.yaml b/internal/matter-server/compose.yaml new file mode 100644 index 0000000..d282e23 --- /dev/null +++ b/internal/matter-server/compose.yaml @@ -0,0 +1,13 @@ +name: matter-server +version: '3.8' +services: + matter-server: + container_name: matter-server + image: ghcr.io/home-assistant-libs/python-matter-server:stable + restart: always + security_opt: + - apparmor=unconfined + volumes: + - "${MATTER_SERVER_PATH}:/data" + - /run/dbus:/run/dbus:ro + network_mode: host diff --git a/internal/openwakeword/compose.yaml b/internal/openwakeword/compose.yaml new file mode 100644 index 0000000..57f6855 --- /dev/null +++ b/internal/openwakeword/compose.yaml @@ -0,0 +1,16 @@ +name: openwakeword +version: '3.8' +services: + openwakeword: + container_name: openwakeword + image: rhasspy/wyoming-openwakeword + user: 1001:1001 + volumes: + - "${OWW_DATA_PATH}:/data" + - "${OWW_CUSTOM_PATH}:/custom" + environment: + - TZ=America/Chicago + command: --preload-model 'ok_nabu' --custom-model-dir /custom + restart: unless-stopped + ports: + - ${OWW_PORT}:10400 diff --git a/internal/piper/compose.yaml b/internal/piper/compose.yaml new file mode 100644 index 0000000..d1cf746 --- /dev/null +++ b/internal/piper/compose.yaml @@ -0,0 +1,13 @@ + +name: piper +version: '3.8' +services: + piper: + container_name: piper + image: rhasspy/wyoming-piper + ports: + - '${PIPER_PORT}:10200' + volumes: + - '${PIPER_DATA_PATH}:/data' + command: '--voice en_US-lessac-medium' + |