Commit 0d03df6a authored by Federico Sismondi's avatar Federico Sismondi

Added files for DCA weather station using yDocDataCollector software for comms...

Added files for DCA weather station using yDocDataCollector software for comms over 4g secured TCP connection
parent 56363dd1
FROM openjdk:8-jdk-alpine
# cd /usr/local/runme
WORKDIR /code
# copy target/find-links.jar /usr/local/runme/app.jar
COPY * /code
ENTRYPOINT ["java","-jar","ydocDataCollector.jar"]
#YDOC-collector configuration properties
#The TCPcollector should listen at port (0=disable):
TCP-port=21
#The UDPcollector should listen at port (0=disable):
UDP-port=0
#Log files & pictures should be stored in output folder:
Output-folder=raw_data
#Folder for configurations files to be synchronized with the corresponding data logger(s):
ConfigTransfer-path=ConfigTransfer
#User name and password of main user:
User=naiades-weather-station
Password=laikmwoadkjh!!{}1d
#ydocTerminal secure tunnel access token (make empty to disable):
TunnelToken=Ta9acjkn2dd
#Additional users can be added with a property starting with the text User-
#User-XYZ=<user name>;<user password>;<optional output path>
User-You=YourName;6562494f;output
......@@ -421,6 +421,34 @@ services:
timeout: 10s
retries: 3
dca-carouge-weather-station:
build:
context: ./dca-carouge-weather-station
dockerfile: Dockerfile
image: dca-carouge-weather-station:latest
container_name: dca-carouge-weather-station
environment:
- LC_ALL=C.UTF-8
- LANG=C.UTF-8
- FLASK_ENV=development
- FLASK_DEBUG=1
- FLASK_RUN_PORT=80
- COLLECTION_DIR=/code/raw_data
- ORION_HOST=orion
expose:
- 80
volumes:
- ./dca-carouge-weather-station:/code
networks:
default:
ipv4_address: 172.18.1.17
# healthcheck:
# test: curl --fail -s http://dca-carouge-fountain/healthcheck || exit 1
# start_period: 30s
# interval: 5m00s
# timeout: 10s
# retries: 3
# - + - + - + - + - + - + - + - + - + - + - + - + - +
# Docker configs #
# - + - + - + - + - + - + - + - + - + - + - + - + - +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment