Skip to content

Latest commit

 

History

History
107 lines (83 loc) · 5.61 KB

README.md

File metadata and controls

107 lines (83 loc) · 5.61 KB

Docker CCU-Historian

Docker image for CCU-Historian.

Information

Service Stats
Docker Build Pulls Stars Automated
GitHub Last commit Issues PR Size License
CCU-Historian Release

General

Topic Description
Image See Docker Hub.
Source See GitHub.

Installation

docker pull xjokay/ccu-historian

Supported tags

Tag Description Size
latest Latest master build Size
2.1.0 Release 2.1.0 Size

Exposed Ports

Port Protocol Description
80 TCP Web-GUI
2098 TCP XmlRpcPort
2099 TCP BinRpcPort

Volumes

Directory Description
/database Location of the database
/opt/ccu-historian/config Location of the config file

Configuration

These environment variables must be set for the first start:

ENV field Values Description
CONFIG_CCU_TYPE CCU1, CCU2, CCU3 Type of the CCU hardware
CONFIG_CCU_IP IP of the CCU
CONFIG_HOST_IP IP of the Docker host
CONFIG_HOST_XMLRPCPORT 2098 Optional: XML port of the RPC-port
CONFIG_HOST_BINRPCPORT 2099 Optional: Bin port of the RPC-port
CONFIG_CCU_PLUGIN1_TYPE CUXD, HMWLGW Optional: Additional plugins
CONFIG_CCU_PLUGIN2_TYPE CUXD, HMWLGW Optional: Additional plugins

Additional config settings should be made by changing the config file ccu-historian.config within the docker container.

It is easier to export the config folder out of the docker container and edit the file there.

Samples

docker-compose

version: '3.7'

services:
  app:
    image: xjokay/ccu-historian:latest
    volumes:
      - ./database:/database
      - ./config:/opt/ccu-historian/config
    ports:
      - 80:80
      - 2098:2098
      - 2099:2099
    environment:
      - TZ=Europe/Zurich
      - CONFIG_CCU_TYPE=CCU2
      - CONFIG_CCU_IP=192.168.1.10
      - CONFIG_HOST_IP=192.168.1.100
    networks:
      - default

docker run

docker run -d \
  -v $PWD/database:/database \
  -v $PWD/config:/opt/ccu-historian/config \
  -p 80:80 \
  -p 2098:2098 \
  -p 2099:2099 \
  -e TZ=Europe/Zurich \
  -e CONFIG_CCU_TYPE=CCU2 \
  -e CONFIG_CCU_IP=192.168.1.10  \
  -e CONFIG_HOST_IP=192.168.1.100 \
  xjokay/ccu-historian:latest