diff --git a/03-stage-linux-voice-assistant/01-linux-voice-assistant/files/lva/.env b/03-stage-linux-voice-assistant/01-linux-voice-assistant/files/lva/.env index 17fd8c1..e548004 100644 --- a/03-stage-linux-voice-assistant/01-linux-voice-assistant/files/lva/.env +++ b/03-stage-linux-voice-assistant/01-linux-voice-assistant/files/lva/.env @@ -1,6 +1,10 @@ # Linux-Voice-Assistant - Docker Environment Configuration # Copy this file to .env and customize for your setup by 'cp .env.example .env' +### Specify another docker image (optional): +# LVA_IMAGE="ghcr.io/ohf-voice/linux-voice-assistant" +# LVA_IMAGE_TAG="latest" + ### Enable debug mode (optional): # ENABLE_DEBUG="1" diff --git a/03-stage-linux-voice-assistant/01-linux-voice-assistant/files/lva/docker-compose.yml b/03-stage-linux-voice-assistant/01-linux-voice-assistant/files/lva/docker-compose.yml index f37dea0..e8cd4da 100644 --- a/03-stage-linux-voice-assistant/01-linux-voice-assistant/files/lva/docker-compose.yml +++ b/03-stage-linux-voice-assistant/01-linux-voice-assistant/files/lva/docker-compose.yml @@ -2,7 +2,7 @@ services: # Fix permissions for wakeword_data and configuration volume fix-permissions: - image: "ghcr.io/ohf-voice/linux-voice-assistant:latest" + image: "${LVA_IMAGE:-ghcr.io/ohf-voice/linux-voice-assistant}:${LVA_IMAGE_TAG:-latest}" 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:latest" + image: "${LVA_IMAGE:-ghcr.io/ohf-voice/linux-voice-assistant}:${LVA_IMAGE_TAG:-latest}" restart: unless-stopped network_mode: "host" user: "${LVA_USER_ID:-1000}:${LVA_USER_GROUP:-1000}"