mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-03-18 18:44:04 +00:00
Some checks failed
docker-build / platform-excludes (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Run Pytest on Pull Request / test (push) Has been cancelled
docker-build / build (push) Has been cancelled
docker-build / merge (push) Has been cancelled
* Fixes direct EOSdash access on Windows localhost:8504 (required for redirect).
25 lines
569 B
YAML
25 lines
569 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
|
|
- EOS_SERVER__EOSDASH_SESSKEY=s3cr3t
|
|
ports:
|
|
# Configure what ports to expose on host
|
|
- "${EOS_PORT}:8503"
|
|
- "${EOSDASH_PORT}:8504"
|