[Dockerapi] add pubsub handler for broadcasting in ha setup

This commit is contained in:
FreddleSpl0it
2023-06-12 16:37:48 +02:00
parent 67510adb9e
commit 06cce79806
8 changed files with 764 additions and 560 deletions

View File

@@ -14,9 +14,12 @@ RUN apk add --update --no-cache python3 \
uvicorn \
aiodocker \
docker \
redis
aioredis
RUN mkdir /app/modules
COPY docker-entrypoint.sh /app/
COPY dockerapi.py /app/
COPY main.py /app/main.py
COPY modules/ /app/modules/
ENTRYPOINT ["/bin/sh", "/app/docker-entrypoint.sh"]
CMD exec python main.py