dmp-dic-standard.yml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. ---
  2. apiVersion: v1
  3. kind: Service
  4. metadata:
  5. name: dmp-dic
  6. labels:
  7. app: dmp-dic
  8. spec:
  9. selector:
  10. app: dmp-dic
  11. ports:
  12. - port: 8080
  13. targetPort: 8080
  14. name: server-port
  15. ---
  16. apiVersion: apps/v1
  17. kind: Deployment
  18. metadata:
  19. name: dmp-dic
  20. spec:
  21. replicas: 1
  22. selector:
  23. matchLabels:
  24. app: dmp-dic
  25. template:
  26. metadata:
  27. labels:
  28. app: dmp-dic
  29. spec:
  30. containers:
  31. - name: dmp-dic
  32. image: labisenlin.persagy.com/library/dmp-dic:latest
  33. imagePullPolicy: Always
  34. ports:
  35. - containerPort: 8080
  36. name: server-port
  37. env:
  38. - name: TZ
  39. value: Asia/Shanghai
  40. - name: SERVER_PORT
  41. value: "8080"
  42. - name: SPRING_CLOUD_CONFIG_URI
  43. value: "http://integrated-config:8080"
  44. - name: SPRING_PROFILES_ACTIVE
  45. value: "dev"
  46. - name: SPRING_CLOUD_CONFIG_PROFILE
  47. value: "dev"
  48. - name: EUREKA_CLIENT_DEFAULT_ZONE
  49. value: "http://frame:123456@integrated-eureka:8080/integrated-eureka/eureka/"
  50. - name: logging.config
  51. value: classpath:logback-spring.xml
  52. - name: eureka.instance.status-page-url
  53. value: "http://${eureka.instance.ip-address}:${eureka.instance.non-secure-port}/${spring.application.name}/info"
  54. - name: eureka.instance.non-secure-port-enabled
  55. value: "true"
  56. - name: eureka.instance.ip-address
  57. value: "dmp-dic"
  58. - name: eureka.instance.health-check-url
  59. value: "http://${eureka.instance.ip-address}:${eureka.instance.non-secure-port}/${spring.application.name}/health"
  60. - name: eureka.instance.non-secure-port
  61. value: "8080"
  62. - name: persagy.common.auth.channel
  63. value: "1"
  64. - name: saas.ems.web.service
  65. value: "http://ems-saas-web:8080"
  66. - name: mybatis-plus.configuration.log-impl
  67. value: "org.apache.ibatis.logging.nologging.NoLoggingImpl"