The source code for the repository is available from github:
Assuming you have docker installed on your machine, these are the few steps to take to get openhab up and running.
- Create a config directory and store your openhab configuration files there. This is the content of [OPENHAB_HOME]/configurations and will be injected into the container. Let's assume you chose /tmp/config.
- Add a file called addons.cfg into that same config directory. This file is used to determine which plugins to enable for your deployment. Each line in the config file should have the name of the addon jar file to load. My file looks like this:
# cat config/addons.cfg
- Run docker:
docker run --rm -p 80:8080 -v /tmp/config:/opt/openhab/configurations tdeckers/openhab
Now you can access the openhab installation on port 80 of your host.