Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
TDLCloud
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
WitCloud
TDLCloud
Commits
729f983b
Commit
729f983b
authored
Dec 21, 2018
by
Carit Zhu
🎱
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Dockerfile
parent
51f72f0f
Pipeline
#33
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
21 deletions
+8
-21
Dockerfile
docker/Dockerfile
+8
-21
No files found.
docker/Dockerfile
View file @
729f983b
# java
# Version:
0.0.
1
# Version:
1.8.19
1
FROM
registry.cn-hangzhou.aliyuncs.com/witcloud/docker-
java:0.0.
1
FROM
registry.cn-hangzhou.aliyuncs.com/witcloud/docker-
cjava:1.8.19
1
# Maintainers
MAINTAINER
Carit Zhu "carit.zhu@witium.com"
COPY
tdlcloud.jar /root/tdlcloud.jar
COPY
ca.crt /root/ca.crt
COPY
witcd.pem /root/witcd.pem
COPY
witcd.crt /root/witcd.crt
ARG
WITIUM_INFLUXDB_HOST
ENV
WITIUM_INFLUXDB_HOST ${WITIUM_INFLUXDB_HOST:-http://witcloud-influxdb:8086}
ARG
WITIUM_MQTT_URL
ENV
WITIUM_MQTT_URL ${WITIUM_MQTT_URL:-tcp://witcloud-emq}
ARG
WITIUM_MQTT_PORT
ENV
WITIUM_MQTT_PORT ${WITIUM_MQTT_PORT:-1883}
ARG
WITIUM_MQTT_CACRT
ENV
WITIUM_MQTT_CACRT ${WITIUM_MQTT_CACRT:-/root/ca.crt}
ARG
WITIUM_MQTT_CLIENTKEY
ENV
WITIUM_MQTT_CLIENTKEY ${WITIUM_MQTT_CLIENTKEY:-/root/witcd.pem}
ARG
WITIUM_MQTT_CLIENTCRT
ENV
WITIUM_MQTT_CLIENTCRT ${WITIUM_MQTT_CLIENTCRT:-/root/witcd.crt}
COPY
app.jar /root/jar/app.jar
COPY
ca.crt /root/jar/ca.crt
COPY
witcd.pem /root/jar/witcd.pem
COPY
witcd.crt /root/jar/witcd.crt
EXPOSE
8092
ENTRYPOINT
[ "java", "-jar","/root/tdlcloud.jar" ]
CMD
["--witium.influxdb.host ${WITIUM_INFLUXDB_HOST}","--witium.mqtt.url ${WITIUM_MQTT_URL}","--witium.mqtt.port ${WITIUM_MQTT_PORT}","--witium.mqtt.cacrt ${WITIUM_MQTT_CACRT}","--witium.mqtt.clientkey ${WITIUM_MQTT_CLIENTKEY}","--witium.mqtt.clientcrt ${WITIUM_MQTT_CLIENTCRT}"]
\ No newline at end of file
ENTRYPOINT
[ "/bin/bash", "/root/start-jar.sh" ]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment