EOS/docker-compose.yaml

26 lines
649 B
YAML
Raw Normal View History

2024-09-16 11:48:20 +02:00
---
networks:
default:
name: "eos"
2024-09-16 11:48:20 +02:00
services:
eos:
image: "akkudoktor/eos:${EOS_VERSION}"
read_only: true
2024-09-16 11:48:20 +02:00
build:
context: .
dockerfile: "Dockerfile"
2024-09-16 11:48:20 +02:00
args:
PYTHON_VERSION: "${PYTHON_VERSION}"
env_file:
- .env
environment:
- EOS_CONFIG_DIR=config
- EOS_SERVER__EOSDASH_SESSKEY=s3cr3t
- EOS_PREDICTION__LATITUDE=52.2
- EOS_PREDICTION__LONGITUDE=13.4
- EOS_ELECPRICE__PROVIDER=ElecPriceAkkudoktor
- EOS_ELECPRICE__CHARGES_KWH=0.21
2024-09-17 09:02:35 +02:00
ports:
- "${EOS_SERVER__PORT}:${EOS_SERVER__PORT}"
- "${EOS_SERVER__EOSDASH_PORT}:${EOS_SERVER__EOSDASH_PORT}"