|
@@ -1,31 +1,31 @@
|
|
|
version : '3'
|
|
|
services:
|
|
|
- kpt-dtm-crontab:
|
|
|
+ kpt-pasture-crontab:
|
|
|
privileged: true
|
|
|
container_name: xdmy001_kpt_pasture_crontab
|
|
|
restart: always
|
|
|
image: registry.cn-hangzhou.aliyuncs.com/kpt-event/kpt-pasture:test
|
|
|
volumes:
|
|
|
- - /var/logger/kpt-dtm/:/app/kpt-dtm/logger
|
|
|
+ - /var/logger/kpt-pasture/:/app/kpt-pasture/logger
|
|
|
- /etc/localtime:/etc/localtime
|
|
|
- /data/docker-compose/kpt-pasture/config:/app/kpt-pasture/config
|
|
|
environment:
|
|
|
- APP_ENVIRONMENT=production
|
|
|
- - DTM_WORK_DIR=/app/kpt-pasture/bin
|
|
|
+ - PASTURE_WORK_DIR=/app/kpt-pasture
|
|
|
ports:
|
|
|
- "8091:8090"
|
|
|
- command: [ "/app/kpt-pasture/bin/kptPasture","crontab" ]
|
|
|
- kpt-dtm-http:
|
|
|
+ command: [ "/app/kpt-pasture/kptPasture","crontab" ]
|
|
|
+ kpt-pasture-http:
|
|
|
privileged: true
|
|
|
container_name: xdmy001_kpt_pasture_http
|
|
|
restart: always
|
|
|
- image: registry.cn-hangzhou.aliyuncs.com/kpt-event/kpt-dtm:test
|
|
|
+ image: registry.cn-hangzhou.aliyuncs.com/kpt-event/kpt-pasture:test
|
|
|
volumes:
|
|
|
- - /var/logger/kpt-dtm/:/app/kpt-dtm/logger
|
|
|
+ - /var/logger/kpt-pasture/:/app/kpt-pasture/logger
|
|
|
- /etc/localtime:/etc/localtime
|
|
|
- - /data/docker-compose/kpt-dtm/config:/app/kpt-dtm/config
|
|
|
+ - /data/docker-compose/kpt-pasture/config:/app/kpt-pasture/config
|
|
|
- /data/docker-compose/kpt-pasture/files:/app/kpt-pasture/files
|
|
|
environment:
|
|
|
- APP_ENVIRONMENT=production
|
|
|
- - DTM_WORK_DIR=/app/kpt-pasture/bin
|
|
|
- command: [ "/app/kpt-pasture/bin/kptPasture","http" ]
|
|
|
+ - PASTURE_WORK_DIR=/app/kpt-pasture
|
|
|
+ command: [ "/app/kpt-pasture/kptPasture","http" ]
|