EOS/docker-compose.yaml
Bobby Noelte c0ea13d0f4 Fix2 electricity price prediction. (#296)
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>
2024-12-30 21:29:50 +01:00

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}"