增加sim和prod两个配置文件

This commit is contained in:
huangsheng 2023-02-27 13:46:15 +08:00
parent a70c2047fb
commit 2635fb065f
3 changed files with 33 additions and 3 deletions

View File

@ -9,6 +9,6 @@ RUN apk update && apk add --no-cache tzdata curl\
COPY ./server/target/crm-print-server-1.0.0.jar /
RUN mkdir /templates
WORKDIR /
HEALTHCHECK --interval=5s --timeout=3s CMD curl -fs http://localhost:9089/crm-print/actuator/health || exit 1
EXPOSE 9089
CMD ["java","-Xms1000m","-Xmx1000m","-jar","crm-print-server-1.0.0.jar"]
HEALTHCHECK --interval=5s --timeout=3s CMD curl -fs http://localhost:8080/crm-print/actuator/health || exit 1
EXPOSE 8080
CMD ["java", "-jar","crm-print-server-1.0.0.jar"]

View File

@ -0,0 +1,15 @@
server.port = 8080
kkfile.fileDir=/appdata/upload/crm-print
kkfile.baseUrl = https://crm.vazyme.com/crm-print
kkfile.token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJCQ0FuMkNIRGtvU0RKdjdJcDBrMFdqVkhVUm85NElTRiJ9.zzJtS7TYaaLy-VIANMU96SOw2r9driz-0Qxy-To9ko8
kkfile.localfileUrl=https://crm.vazyme.com/crm-print-jwt
kkfile.cacheEnabled=true
kkfile.cache.type=default
kkfile.fileUploadDisable = false
server.servlet.context-path= /crm-print
knife4j.enable=true
knife4j.production=true
knife4j.basic.enable=true
knife4j.basic.username=crm
knife4j.basic.password=crm@#$%&87811

View File

@ -0,0 +1,15 @@
server.port = 8080
kkfile.fileDir=/appdata/upload/crm-print
kkfile.baseUrl = https://testcrm.vazyme.com/crm-print
kkfile.token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJCQ0FuMkNIRGtvU0RKdjdJcDBrMFdqVkhVUm85NElTRiJ9.zzJtS7TYaaLy-VIANMU96SOw2r9driz-0Qxy-To9ko8
kkfile.localfileUrl=https://testcrm.vazyme.com/crm-print-jwt
kkfile.cacheEnabled=true
kkfile.cache.type=default
kkfile.fileUploadDisable = false
server.servlet.context-path= /crm-print
knife4j.enable=true
knife4j.production=true
knife4j.basic.enable=true
knife4j.basic.username=crm
knife4j.basic.password=crm@#$%&87811