Skip to content

11notes/docker-sungrow

Repository files navigation

Banner

🏔️ Alpine - SunGrow

size version pulls

Use GoSungrow with MQTT via SSL

SYNOPSIS

What can I do with this? This image will let you run GoSungrow and export all data via MQTT to whatever backend you run. To increase security this image will by default run via SSL and validate the certificate presented. Do not use with self-signed certificates.

VOLUMES

  • /sungrow/etc - Directory of .GoSungrow/config.json

COMPOSE

services:
  sungrow:
    image: "11notes/sungrow:3.0.7"
    container_name: "sungrow"
    environment:
      TZ: "Europe/Zurich"
      GOSUNGROW_USER: "user"
      GOSUNGROW_PASSWORD: "*********************"
      GOSUNGROW_HOST: "https://gateway.isolarcloud.eu"
      GOSUNGROW_MQTT_HOST: "mqtt.domain.com"
      GOSUNGROW_MQTT_USER: "user"
      GOSUNGROW_MQTT_PASSWORD: "*********************"
      GOSUNGROW_MQTT_PORT: 8883
      GOSUNGROW_MQTT_TOPIC: "mqtt.domain.com/home/solar/sungrow"
    volumes:
      - "etc:/sungrow/etc"
    restart: always
volumes:
  etc:

DEFAULT SETTINGS

Parameter Value Description
user docker user docker
uid 1000 user id 1000
gid 1000 group id 1000
home /sungrow home directory of user docker

ENVIRONMENT

Parameter Value Default
TZ Time Zone
DEBUG Show debug information
GOSUNGROW_MQTT_CLIENT_ID MQTT client id "GoSungrow"
GOSUNGROW_MQTT_TOPIC MQTT topic used "mqtt"
GOSUNGROW_MQTT_CRON MQTT sync interval (must be equal or more than 5 minutes) "*/5 * * * *"
GOSUNGROW_**** All other available GoSungrow variables

SOURCE

PARENT IMAGE

BUILT WITH

TIPS

  • Use a reverse proxy like Traefik, Nginx to terminate TLS with a valid certificate
  • Use Let’s Encrypt certificates to protect your SSL endpoints

ElevenNotes™️

This image is provided to you at your own risk. Always make backups before updating an image to a new version. Check the changelog for breaking changes. You can find all my repositories on github.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors