Login et discovery MQTT

This commit is contained in:
LeClubber
2022-03-12 10:19:05 +01:00
parent 5d619e8535
commit 39f61f0b34
9 changed files with 859 additions and 0 deletions

13
idiamant/Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM python:3-alpine
ENV MQTT_PORT 1883
ENV MQTT_HOST mqtt
ENV MQTT_TOPIC homeassistant
ENV IDIAMANT_PULL_STATUS 5
WORKDIR /usr/src/idiamant
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
COPY . .
CMD ["python", "-u", "server.py"]