Skip to content
This repository was archived by the owner on Dec 8, 2021. It is now read-only.

TheLastProject/mycroft-WebUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mycroft WebUI

A very simple WebUI for interacting with your Mycroft instance.

Configuration

This project needs the following configuration:

Environment variables

  • 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 dialog
  • ADMIN_PASSWORD: The password for the authentication dialog

If you wish, you could instead provide your own .htpasswd file. See Files below.

Files

No files are necessary, but this container exposes a /config directory which supports the following files:

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.

Get image

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 .

Run

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-webui

With 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.

About

A very simple web UI for Mycroft

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors