First time setup:
- Create the following folder and temp config.json
/path/to/host/folder
/audio-responses
/config/config.json
- Run the following docker command:
docker run -d \
-p 3000:3000 \
--name google-assistant-relay \
--restart always \
-v path/to/host/folder/config/config.json:/assistant-relay/relay/bin/config.json \
-v path/to/host/folder/audio-responses:/assistant-relay/relay/bin/audio-responses \
mjarends/docker-assistant-relay
- Go to http://localhost:3000 and follow the on screen instructions to setup Google Assistant Relay
Based on v3.x of greghesp/assistant-relay
If deploying using Docker Compose, add the following environment variables and configure them to match your environment
Name | Description | Example |
---|---|---|
TIME_ZONE | Time zone value from https://en.wikipedia.org/wiki/List_of_tz_database_time_zones | America/Chicago |
GAR_CONFIG_JSON_FILE | Path to the Google Assistant Relay configuration file | /home/docker-admin/docker/google-assistant-relay/config/config.json |
GAR_AUDIO_RESPONSES_DIR | Path to the directory where audio repsonses are stored | /home/docker-admin/docker/google-assistant-relay/audio-responses |
GAR_MEDIA_DIR | Path to the directory where sound files are stored | /home/docker-admin/docker/google-assistant-relay/media |