Merge pull request 'updates' (#2) from work into main

Reviewed-on: #2
This commit is contained in:
paradizelost 2024-11-26 10:13:06 -06:00
commit e45ca1b2d3
2 changed files with 8 additions and 5 deletions

View File

@ -1,7 +1,11 @@
services: services:
libnotices: enphase:
image: git.hamik.net/paradizelost/enphase:latest image: git.hamik.net/paradizelost/enphase:latest
container_name: libnotices container_name: enphase
restart: always restart: always
ports: environment:
- "80:80" - ENPHASE_TOKEN=${ENPHASE_TOKEN}
- ENPHASE_URL=${ENPHASE_URL}
- INFLUX_USER=${INFLUX_USER}
- INFLUX_PASSWORD=${INFLUX_PASSWORD}
- INFLUX_URI=${INFLUX_URI}

View File

@ -162,7 +162,6 @@ enphaseurl = os.environ["ENPHASE_URL"]
infdbuser = os.environ["INFLUX_USER"] infdbuser = os.environ["INFLUX_USER"]
infdbpass = os.environ["INFLUX_PASSWORD"] infdbpass = os.environ["INFLUX_PASSWORD"]
influxuri = os.environ["INFLUX_URI"] influxuri = os.environ["INFLUX_URI"]
infdbuser = os.environ["INFLUX_USER"]
while True: while True: