forked from jimmykarily/mycroft_offline
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add separate docker-compose.yml for Microft-Core (client)
Client is not integrated into main compose file to be able to start server and client separately.
- Loading branch information
Showing
3 changed files
with
91 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
version: '3' | ||
services: | ||
mycroft: | ||
image: mycroftai/docker-mycroft | ||
restart: "on-failure" | ||
volumes: | ||
- ./storage:/root/.mycroft | ||
- ${XDG_RUNTIME_DIR}/pulse/:${XDG_RUNTIME_DIR}/pulse/ | ||
- ${HOME}/.config/pulse/:/root/.config/pulse/ | ||
environment: | ||
PULSE_SERVER: "unix:${XDG_RUNTIME_DIR}/pulse/native" | ||
ports: | ||
- "8181:8181" | ||
devices: | ||
- "/dev/snd:/dev/snd" | ||
entrypoint: | ||
- bash | ||
- -c | ||
# Deactivate ssl verification to communicate with servers having a self signed certificate | ||
- "sed -i 's/data=data, json=json_body, timeout=(3.05, 15)/data=data, json=json_body, timeout=(3.05, 15), verify=False/' /opt/mycroft/mycroft/api/__init__.py && | ||
/opt/mycroft/startup.sh | ||
" | ||
|
||
networks: | ||
default: | ||
external: | ||
name: mycroft_offline_web |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"max_allowed_core_version": 20.2, | ||
"server": { | ||
"url": "https://selene-ui-proxy", | ||
"version": "v1", | ||
"update": true, | ||
"metrics": false | ||
}, | ||
"stt": { | ||
"module": "deepspeech_server", | ||
"deepspeech_server": { | ||
"uri": "http://deepspeech:8080/stt" | ||
} | ||
} | ||
} |