GithubHelp home page GithubHelp logo

siteoperator / docker.solaranzeige Goto Github PK

View Code? Open in Web Editor NEW

This project forked from debaschdi/docker.solaranzeige

0.0 0.0 0.0 2.13 MB

License: GNU General Public License v3.0

Shell 43.49% PHP 56.51%

docker.solaranzeige's Introduction

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" \
  -e MOSQUITTO="yes" \
  -e INFLUXDB="yes" \
  -p 3000:3000 \
  -p 1883:1883 \
  -p 8080:80 \
  -v {SOLARANZEIGE_STORAGE}:/solaranzeige \
  -v {INFLUXDB_STORAGE}:/var/lib/influxdb \
  -v {GRAFANA_STORAGE}:/var/lib/grafana \
  -v {PVFORECAST_STORAGE}:/pvforecast \
  -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 no [integer] 3000:3000 Map Grafana Listenport inside this Container to Host Device Listen Port (Bridge Mode)
-p no [integer] 1883:1883 Map Mosquitto Listenport inside this Container to Host Device Listen Port (Bridge Mode)
-p no [integer] 80:8080 Map Apache2 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
MOSQUITTO yes yes, no yes Turn On / Off mosquitto service inside this Container
INFLUXDB yes yes, no yes Turn On / Off influxdb service inside this Container

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
PVFORECAST_STORAGE no The directory to to persist /pvforecast 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. Note: PVFORECAST_STORAGE persist PVForecast data from https://github.com/StefaE/PVForecast

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

docker.solaranzeige's People

Contributors

debaschdi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.