This is a docker image based on arm32v7 hardware for running on RaspberryPi. It has been tested on Raspberry Pi3+ in conjunction with a homebridge container for enabling cbus network control from Amazon Alexa and/or Apple Homekit.
I highly recommend 'onzu's homebridge w/UI' installed with the 'Homebridge CBUS plugin' for seamless cbus->voice controlled integration. This is what I currently run with miriads of other plugins to connect in many other 'smart' devices.
More detailed instructions to help beginners from scratch to come. Docker compose used with below yaml file example.
It is assumed you have docker, and docker-compose installed on the raspberry pi sudo apt install docker docker-compose
A local file structure is setup for cgate configuration, cgate project and cgate logs files that the container can access/update. Example shown below can be tailored to what you want to call them. Just substitute names in docker-compose.yml file and change the ./config portion of ./config:/config for example to the location relevant to where you place the docker-compose.yml file.
file structure
---cgate-|
--- config (access.txt and C-GateConfnig.txt)
--- tag (project.XML)
--- logs (log files generated by cgate , event.txt)
tag directoryconfig directory. I've used network_mode:host in setup to avoid defining specific ports used by cgate, so as long as your cgate network can get to the host, it can get to the container.docker-compose.yml file into your local cgate directory (example uses cgate directory under pi user home directory, ie: ~/cgate)cd ~
mkdir cgate
cd ~/cgate
mkdir tag
mkdir config
mkdir logs
nano docker-compose.yml
nano docker-compose.yml
version: '2'
services:
cgate:
image: arrikhan/cgate:latest
container_name: cgate
network_mode: host
restart: unless-stopped
volumes:
- ./config:/config
- ./tag:/tag
- ./logs:/logs
docker-compose up -d
You can call a specific cgate server version based on the versions available in the "tags" tab above by updating image:arrikhan/cgate:latest to image:arrikhan/cgate:2.11.4_3251 where 2.11.4_3251 version has been selected here. Just ask for a specific version to be built if the one you want doesn't exist.
Content type
Image
Digest
Size
200 MB
Last updated
about 7 years ago
docker pull arrikhan/cgate