docker-compose: Expose EOSdash port Closes #447
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).
This commit is contained in:
Dominique Lasserre 2025-02-17 21:32:10 +01:00 committed by Bobby Noelte
parent 76b5ec3638
commit 20621aa626
2 changed files with 4 additions and 1 deletions

1
.env
View File

@ -1,4 +1,5 @@
EOS_VERSION=main
EOS_PORT=8503
EOSDASH_PORT=8504
PYTHON_VERSION=3.12.6

View File

@ -19,4 +19,6 @@ services:
- elecprice_charges_kwh=0.21
- EOS_SERVER__EOSDASH_SESSKEY=s3cr3t
ports:
- "${EOS_PORT}:${EOS_PORT}"
# Configure what ports to expose on host
- "${EOS_PORT}:8503"
- "${EOSDASH_PORT}:8504"