-
Notifications
You must be signed in to change notification settings - Fork 0
/
kopv-dashboard.yml
44 lines (44 loc) · 1.14 KB
/
kopv-dashboard.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: '3.7'
services:
mariadb:
image: mariadb:10.8
restart: always
volumes:
- ./mariadb_solar/data:/var/lib/mysql
- ./sql:/docker-entrypoint-initdb.d
#ports:
# - "3307:3306"
environment:
MARIADB_ROOT_PASSWORD: "<ROOT PASSWORD>"
MARIADB_DATABASE: "solardb"
MARIADB_USER: "solardbuser"
MARIADB_PASSWORD: "<DATABASE PASSWORD>"
invafetch:
image: ghcr.io/geschke/invafetch:latest
restart: always
volumes:
- ./invafetch/processdata.json:/app/processdata.json
environment:
DBHOST: "mariadb"
DBUSER: "solardbuser"
DBNAME: "solardb"
DBPASSWORD: "<DATABASE PASSWORD>"
#DBPORT:"3307"
INV_SERVER: "<INVERTER IP ADDRESS>"
INV_PASSWORD: "<INVERTER PASSWORD>"
#INV_SCHEME: "http"
#TIME_REQUEST_DURATION_SECONDS:2
#TIME_NEW_LOGIN_MINUTES:1
invaps:
image: ghcr.io/geschke/invaps:latest
restart: always
environment:
DBHOST: "mariadb"
DBUSER: "solardbuser"
DBNAME: "solardb"
DBPASSWORD: "<DATABASE PASSWORD>"
#DBPORT: 3307
PORT: "8080"
GIN_MODE: release
ports:
- "8090:8080"