mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 08:55:15 +00:00
* Add json config * Adjust code to new config --------- Co-authored-by: Chris <git@nootch.de>
23 lines
462 B
YAML
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}"
|