From abc06af773822d6d58e3878a6e1ec605bbf321b4 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 30 Jul 2023 14:11:22 -0500 Subject: [PATCH] readme updates --- README.md | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index a987e4b..15f1eab 100644 --- a/README.md +++ b/README.md @@ -79,21 +79,18 @@ context: ## Running with Docker -Needs to have a `requirements.txt` file in the same directory as the `Dockerfile` +Clone repo into `apps/room_control` of your appdaemon config folder. -```dockerfile -FROM python:3.10 - -# install order matters because of some weird dependency stuff with websocket-client -# install appdaemon first because it's versioning is more restrictive -RUN pip install git+https://github.com/AppDaemon/appdaemon@dev - -ENV CONF=/conf -RUN mkdir $CONF -COPY ./requirements.txt ${CONF} -RUN --mount=type=cache,target=/root/.cache/pip pip install -r ${CONF}/requirements.txt +```shell +./appdaemon_config +├── apps +│ ├── room_control +│ └── rooms +└── docker-compose.yml ``` +Example `docker-compose.yml`: + ```yaml version: "3.8" services: @@ -108,7 +105,6 @@ services: - 5050:5050 restart: unless-stopped - volumes: config: driver: local