updated Traefik config to latest

improvements to PIRdbWriteGate.py
gatecounter db initialized by python script
updated .env.template
python scripts now run by gatecounter service
gatecounter service build from Dockerfile
This commit is contained in:
Brennen Raimer
2019-11-03 15:54:56 -05:00
parent aab50eceb9
commit 816b9ea607
6 changed files with 174 additions and 221 deletions

4
Dockerfile Normal file
View File

@@ -0,0 +1,4 @@
FROM python:3
WORKDIR /usr/src/app
RUN pip install --no-cache-dir sqlalchemy RPi.GPIO mysqlclient Adafruit-MCP3008 Adafruit-GPIO
ENTRYPOINT [ "python3" ]