diff --git a/setup_dev.sh b/setup_dev.sh index ccac94b..6b3dbc1 100644 --- a/setup_dev.sh +++ b/setup_dev.sh @@ -4,7 +4,8 @@ mvn package -Dmaven.test.skip=true #image_version=$(date +%Y%m%d%H%M) image_version=$version -docker cp docker-jenkin:/var/jenkins_home/workspace/dipperpos_service/target/dipperposition.jar /home/data/dipperposition/dipperposition.jar +docker cp docker_jenkins:/var/jenkins_home/workspace/dipperpos_service/target/dipperposition.jar +/home/data/dipperposition #docker stop dipperposition_service || true #docker rm dipperposition_service || true diff --git a/src/main/resources/bootstrap.yaml b/src/main/resources/bootstrap.yaml index 9ea575b..8a2c369 100644 --- a/src/main/resources/bootstrap.yaml +++ b/src/main/resources/bootstrap.yaml @@ -13,7 +13,7 @@ spring: name: dipperposition-service redis: database: 1 - host: 172.19.42.44 + host: 172.16.192.26 port: 8090 password: telpo#1234 timeout: 3000 @@ -52,9 +52,9 @@ position-server: mongo: datasource: dblist: - - uri: mongodb://wangjx:wangjx#1234@172.19.42.40:27018/basicdatatest + - uri: mongodb://wangjx:wangjx#1234@172.16.192.26:27017/basicdata database: basicdata - - uri: mongodb://wangjx:wangjx#1234@172.19.42.40:27018/commontest + - uri: mongodb://wangjx:wangjx#1234@172.16.192.26:27017/common database: common