EOS/docker-compose.yaml
Chris de9fe2ddc9 Add settings and extension recommendations (#139)
- Added recommended settings for the Pylance and Pyright extensions
- Enabled pytest and debugging support in configuration
- Reformatted code with Prettier
---------
Co-authored-by: Chris <git@nootch.de>
2024-11-10 23:00:16 +01:00

23 lines
460 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/config.py:/opt/eos/akkudoktoreos/config.py:ro
ports:
- "${EOS_PORT}:${EOS_PORT}"