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