Updates docker files
This commit is contained in:
14
daq/Dockerfile
Normal file
14
daq/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM python:latest
|
||||
|
||||
# Copy source files
|
||||
RUN mkdir /root/tag-logger
|
||||
COPY taglogger.py /root/tag-logger/taglogger.py
|
||||
COPY pycomm-master /tmp/pycomm
|
||||
COPY Pycomm-Helper /tmp/pycomm_helper
|
||||
|
||||
# Install some python packages
|
||||
RUN pip install requests
|
||||
RUN cd /tmp/pycomm && python setup.py install && cd /
|
||||
RUN cd /tmp/pycomm_helper && python setup.py install && cd /
|
||||
|
||||
CMD ["python", "/root/tag-logger/taglogger.py"]
|
||||
Submodule daq/pycomm_helper deleted from a3b6c088c5
@@ -14,7 +14,7 @@ import requests
|
||||
from pycomm_helper.tag import Tag
|
||||
|
||||
# DEFAULTS
|
||||
db_address = "10.10.10.10:3000"
|
||||
db_address = "web_db:3000"
|
||||
db_url = "https://{}".format(db_address)
|
||||
scan_rate = 30 # seconds
|
||||
save_all = "test" # use True, False, or any string
|
||||
|
||||
Reference in New Issue
Block a user