feat(docker): add custom image and tag env configuration (#306)

- Replace hardcoded image values with overrideable env variables
- Standardize version env var from LVA_VERSION to LVA_IMAGE_TAG
- Add new env options documentation to .env.example
- Add dev.env to gitignore
- Disable default mic noise suppression in dev compose

BREAKING CHANGE: LVA_VERSION env var replaced with LVA_IMAGE_TAG
This commit is contained in:
Florian Asche authored and GitHub committed 2026-04-22 17:22:55 +02:00
1 parent 730f706655
commit 1ea79aa8bb
4 files changed
+11 -9

No files matched your search

+4 -4
View File
@@ -2,7 +2,7 @@
services:
# Fix permissions for wakeword_data and configuration volume
fix-permissions:
image: "ghcr.io/ohf-voice/linux-voice-assistant-pr:207"
image: "${LVA_IMAGE:-ghcr.io/ohf-voice/linux-voice-assistant-pr}:${LVA_IMAGE_TAG:-nightly}"
entrypoint: []
command: "chown -R ${LVA_USER_ID:-1000}:${LVA_USER_GROUP:-1000} /app/local /app/configuration /app/wakewords/custom /app/sounds/custom"
environment:
@@ -24,7 +24,7 @@ services:
# Linux Voice Assistant
linux-voice-assistant:
container_name: linux-voice-assistant
image: "ghcr.io/ohf-voice/linux-voice-assistant-pr:207"
image: "${LVA_IMAGE:-ghcr.io/ohf-voice/linux-voice-assistant-pr}:${LVA_IMAGE_TAG:-nightly}"
restart: unless-stopped
network_mode: "host"
user: "${LVA_USER_ID:-1000}:${LVA_USER_GROUP:-1000}"
@@ -67,8 +67,8 @@ services:
retries: 3
start_period: 90s
command:
- "--mic-noise-suppression"
- "1"
# - "--mic-noise-suppression"
# - "1"
# - --additional-parameters-here
# - --but-use-env-if-possible