EOS/docker-compose.yaml
Chris ed3226e522 Json configuration (#141)
* Add json config
* Adjust code to new config

---------

Co-authored-by: Chris <git@nootch.de>
2024-11-11 21:38:13 +01:00

23 lines
462 B
YAML

---
networks:
eos:
name: "eos"
services:
eos:
image: "akkudoktor/eos:${EOS_VERSION}"
read_only: true
build:
context: .
dockerfile: "Dockerfile"
args:
PYTHON_VERSION: "${PYTHON_VERSION}"
init: true
environment:
FLASK_RUN_PORT: "${EOS_PORT}"
networks:
- "eos"
volumes:
- ./src/akkudoktoreos/default.config.json:/opt/eos/EOS.config.json:ro
ports:
- "${EOS_PORT}:${EOS_PORT}"