A very simple WebUI for interacting with your Mycroft instance.
This project needs the following configuration:
MYCROFT_HOST: Set to the IP address or hostname of your Mycroft instance. Please ensure port 8181 is ONLY accessible to this container.ADMIN_USERNAME: The username for the authentication dialogADMIN_PASSWORD: The password for the authentication dialog
If you wish, you could instead provide your own .htpasswd file. See Files below.
No files are necessary, but this container exposes a /config directory which supports the following files:
nginx.crt: SSL certificatenginx.key: SSL key.htpasswd: Authentication file
If nginx.crt and nginx.key exist, the container will automatically start using SSL.
If .htpasswd exists, it will be used instead of the ADMIN_USERNAME and ADMIN_PASSWORD environment variables.
This image is available on Docker Hub.
Alternatively, you can build it yourself from the sources in this git repository:
docker build -t mycroft-webui .docker run -d \
-e MYCROFT_HOST=host.docker.internal \
-v /your/config/directory/location:/config \
-p 8080:8080 \
-p 8443:8443 \
-e ADMIN_USERNAME=admin \
-e ADMIN_PASSWORD=changeme \
--add-host host.docker.internal:host-gateway \
--name mycroft-webui mycroft-webuiWith the above configuration, the container will connect to a mycroft instance on the host. The web UI will listen on port 8080 (HTTP) and, if you set up SSL, port 8443 (HTTPS). The username and password are visible in the command, but it is strongly recommended to change them.