hass-configurator-docker
Linux x32/64 and ARM (raspberry) builds for the hass-configurator
Example docker-compose.yaml
hass-configurator:
image: "causticlab/hass-configurator-docker:latest"
restart: always
ports:
- "3218:3218/tcp"
networks:
- hass-network
volumes:
- "./data/configurator-config:/config"
- "./data/config:/hass-config"
Be sure to map the config folder of your homeassistant instance to the configurator container and set the basepath in your configuration.
The configuration needs to be mapped to /config and needs to be named settings.conf.
As with Verion 0.3.3 it is also possible to use environment vars to set configurations but you will still need your hass-config folder mapped into the container.
In order to use the git integration with hass-configurator you have to use one of the following options.
hass-configurator:
volumes:
- "/path/.ssh/id_rsa:/root/.ssh/id_rsa:ro"
- "/path/.ssh/id_rsa.pub:/root/.ssh/id_rsa.pub:ro"
- "/path/.ssh/known_hosts:/root/.ssh/known_hosts:rw"
https://<github username>:<some token>@github.com/<github username>/<some repo>.git
As with version 0.4.1 we moved to multi-arch containers so the all new containers are either tagged with version or latest. As with version 0.3.3 the pattern of the docker image was changed to use semver, for backwards compatibility version 0.3.3 will have both versions up in the docker hub As with version 0.3.3 2018-12-23 there is also an ARCH only tag on docker hub marking an image as "latest" for the specific ARCH
If you want to build these repository locally you can do so with the following:
docker build -f . --build-arg HC_BUILD_VERSION=<VERSION_OF_HASS_CONFIGURATOR> . -t <YOUR_IMAGE_NAME> --no-cache
--build-arg HC_BUILD_VERSION=<VERSION_OF_HASS_CONFIGURATOR>
This is how we let the Dockerfile instructions know which version of hass-configurator we wish to install. At the time of writing this is 0.4.0, so you could use --build-arg HC_BUILD_VERSION=0.4.0
Content type
Image
Digest
sha256:06f064f1b…
Size
37.6 MB
Last updated
3 months ago
docker pull causticlab/hass-configurator-docker