zkt-project-alarm.yml 546 B

123456789101112131415
  1. version: '3'
  2. services:
  3. ibms-project-alarm:
  4. image: labisenlin.persagy.com/library/ibms-project-alarm:${tag}
  5. container_name: ibms-project-alarm_${PROJECT_ID}
  6. restart: always
  7. # ports:
  8. # # 服务暴露端口号,按环境调整,
  9. # - 9984:9984
  10. volumes:
  11. # zkt-project-alarm.yml 文件同级放config文件夹,文件夹下有 要包含application.yml文件
  12. - ./config/:${WORKER_HOME}/config/
  13. - ./logs/:${CONTAINER_HOME}/logs/
  14. environment:
  15. - spring.profiles.active=${PROJECT_ID}