Kaynağa Gözat

修改参数与docker镜像时区

master
bin 3 yıl önce
ebeveyn
işleme
48c6ae9335
2 değiştirilmiş dosya ile 15 ekleme ve 6 silme
  1. +3
    -0
      Dockerfile
  2. +12
    -6
      src/main/resources/application.properties

+ 3
- 0
Dockerfile Dosyayı Görüntüle

@@ -5,6 +5,9 @@ MAINTAINER telpo
VOLUME /tmp
ADD target/dianxin-guizhou-forward-telpo0.0.2.jar app.jar

RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo "Asia/Shanghai" > /etc/timezone

EXPOSE 8102

ENTRYPOINT ["java","-jar", "/app.jar"]

+ 12
- 6
src/main/resources/application.properties Dosyayı Görüntüle

@@ -39,17 +39,23 @@ netty.port=8888
4g.api.token = 123Te1p0Te1p0321
# \u8D35\u5DDE\u7535\u4FE1\u53C2\u6570
guizhou.protocol=T01.4
#guizhou.factory=telpo
#guizhou.device.model=TPS401
#guizhou.device.version=ACB_1001
guizhou.factory=zhizhong
guizhou.device.model=RZL600
guizhou.device.version=RZL_2021
guizhou.factory=telpo
guizhou.device.model=TPS401
guizhou.device.version=ACB_1001
#guizhou.factory=zhizhong
#guizhou.device.model=RZL600
#guizhou.device.version=RZL_2021
#guizhou.factory=zhanneng
#guizhou.device.model=TPE390
#guizhou.device.version=TPE_0056
guizhou.http.url=http://202.105.147.30:24183
#\u5929\u6CE2
guizhou.device.testList= [{ "imei": "862622050253671","phone": "18664272743" },{ "imei": "862622050253358","phone": "" },{ "imei": "800115470000678","phone": "13500259054" }]
#\u667A\u4E2D
#guizhou.device.testList= [{ "imei": "862622050654340","phone": "18985521203" },{ "imei": "862622050317740","phone": "18985521202" }]
#\u5C55\u80FD
#guizhou.device.testList= [{ "imei": "862622050927027","phone": "19185301203" },{ "imei": "862622050925104","phone": "" }]

guizhou.device.zhizhong=862622050654340,862622050317740
guizhou.device.zhanneng=862622050925104,862622050927027
guizhou.device.tianbo=862622050253671,862622050253358,800115470000678


Yükleniyor…
İptal
Kaydet