mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 08:55:15 +00:00
Normalize electricity price prediction to €/Wh. Provide electricity price prediction by €/kWh for convenience. Allow to configure electricity price charges by €/kWh. Also added error page to fastapi rest server to get rid of annoying unrelated fault messages during testing. Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
23 lines
489 B
YAML
23 lines
489 B
YAML
---
|
|
networks:
|
|
default:
|
|
name: "eos"
|
|
services:
|
|
eos:
|
|
image: "akkudoktor/eos:${EOS_VERSION}"
|
|
read_only: true
|
|
build:
|
|
context: .
|
|
dockerfile: "Dockerfile"
|
|
args:
|
|
PYTHON_VERSION: "${PYTHON_VERSION}"
|
|
environment:
|
|
- EOS_CONFIG_DIR=config
|
|
- latitude=52.2
|
|
- longitude=13.4
|
|
- elecprice_provider=ElecPriceAkkudoktor
|
|
- elecprice_charges_kwh=0.21
|
|
- server_fasthtml_host=none
|
|
ports:
|
|
- "${EOS_PORT}:${EOS_PORT}"
|