EOS/docker-compose.yaml
Dominique Lasserre eabc2a795a
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
workflow: docker-build upload to DockerHub (#318)
* workflow: docker-build upload to DockerHub
   - Upload on release, tag, push to main.
   - Build on pr to main (amd64 only).
 * docker: temporarily disable read-only container Closes #278
   - Update documentation.
   - Temporarily set akkudoktor/eos:main in compose.yml (with
     releases/tags it should be replaced by latest again)
2025-01-04 01:24:37 +01:00

18 lines
371 B
YAML

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