Skip to content

age-77/docker.solaranzeige

 
 

Repository files navigation

docker.solaranzeige

Prerequisites

You will need to have docker installed on your system and the user you want to run it needs to be in the docker group.

Note: The image is a multi-arch build providing variants for amd64, arm32v7 and arm64v8 - the correct variant for your architecture needs to be tagged e.g :amd64, :arm32v7, :arm64v8

Technical info for docker GUIs (e.g. Synology, UnRaid, OpenMediaVault)

To learn how to manually start the container or about available parameters (you might need for your GUI used) see the following example:

docker run \
  -d \
  -e USER_ID="99" \
  -e GROUP_ID="100" \
  -e TIMEZONE="Europe/Berlin" \
  -e UPDATE="yes" \
  -p 3000:3000 \
  -v {SOLARANZEIGE_STORAGE}:/solaranzeige \
  -v {INFLUXDB_STORAGE}:/var/lib/influxdb \
  -v {GRAFANA_STORAGE}:/var/lib/grafana \
  -v {WWW_STORAGE}:/var/www \
  --name=Solaranzeige \
  --restart unless-stopped \
  --tmpfs /tmp \
  --tmpfs /var/log \
  takealug/solaranzeige:tag

The available parameters in detail:

Parameter Optional Values/Type Default Description
USER_ID yes [integer] 99 UID to run Solaranzeige as
GROUP_ID yes [integer] 100 GID to run Solaranzeige as
TIMEZONE yes [string] Europe/Berlin Timezone for the container
-p yes [integer] 3000:3000 Map Grafana Listenport inside this Container to Host Device Listen Port (Bridge Mode)
UPDATE yes yes, no no Turn On / Off automatic Update for Solaranzeige each restart inside this Docker

Frequently used volumes:

Volume Optional Description
SOLARANZEIGE_STORAGE no The directory to persist /solaranzeige with Crontab Settings to
INFLUXDB_STORAGE no The directory to to persist /var/lib/influxdb to
GRAFANA_STORAGE no The directory to to persist /var/lib/grafana to
WWW_STORAGE no The directory to to persist /var/www to

When passing volumes please replace the name including the surrounding curly brackets with existing absolute paths with correct permissions.

Note: INFLUXDB_STORAGE persist the Database for Grafana. Note: GRAFANA_STORAGE persist Grafana settings and Dashboards. Note: WWW_STORAGE persist logfiles and all script-files from solaranzeige.de.

First Run / Initial Setup Solaranzeige

Inside this Container you need to run /solaranzeige/setup connect to the Container e.g

docker exec -ti Solaranzeige /solaranzeige/setup

Note: For initial Setup instructions see https://solaranzeige.de/phpBB3/viewtopic.php?f=5&t=305

Please, after you finish your Initial Setup, restart this Container, and select your Grafana - Dashboard

Modify Crontab Settings (Needed for Wallbox or Multi controller Configuration)

Just edit your Persist {SOLARANZEIGE_STORAGE}/solaranzeige_cron File and restart your Container dont forget to add an empty Newline at the End of this File.

Support my work

If you like my Work, please Paypal Donation Page - thank you! :-)

Unraid Template

Note: An Template for Unraid can be found here : https://raw.githubusercontent.com/DeBaschdi/docker.solaranzeige/master/Templates/Unraid/my-Solaranzeige.xml Please safe it to into \flash\config\plugins\dockerMan\templates-user, after that you can use this Template in Unraids Webui. Docker > Add Container > Select Template and choose Solaranzeige

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 70.3%
  • Shell 29.7%