eNeRGy164 / gw2pvo-docker

GoodWe to PVOutput Docker Container
MIT License
5 stars 3 forks source link

Update to newer release #7

Open ThinkPadNL opened 3 years ago

ThinkPadNL commented 3 years ago

A newer release is out, could you please update the container? https://github.com/markruys/gw2pvo/releases

Edit: i just made my own image by combining the Dockerfile from gw2pvo and this repository:

FROM python:3.9-slim

RUN pip install gw2pvo

ENV GW_STATION_ID="" \
    GW_ACCOUNT="" \
    GW_PASSWORD="" \
    PVO_SYSTEM_ID="" \
    PVO_API_KEY="" \
    PVO_INTERVAL="15" \
    DARKSKY_API_KEY="" \
    LOG="info" \
    CITY="Amsterdam" \
    TZ="Europe/Amsterdam"

ENTRYPOINT exec gw2pvo \
    --gw-station-id ${GW_STATION_ID} \
    --gw-account ${GW_ACCOUNT} \
    --gw-password ${GW_PASSWORD} \
    --pvo-system-id ${PVO_SYSTEM_ID} \
    --pvo-api-key ${PVO_API_KEY} \
    --pvo-interval ${PVO_INTERVAL} \
    --darksky-api-key ${DARKSKY_API_KEY} \
    --log ${LOG} \
    --city ${CITY} \
    --skip-offline