mirror of
https://gitee.com/dromara/dbswitch.git
synced 2025-09-17 17:32:36 +00:00
同步性能改进
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
DBSWITCH_VERSION=1.8.2
|
||||
DBSWITCH_VERSION=1.9.0
|
||||
BUILD_DOCKER_DIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||
PROJECT_ROOT_DIR=$( dirname "$BUILD_DOCKER_DIR")
|
||||
DOCKER_DBSWITCH_DIR=$BUILD_DOCKER_DIR/dbswitch
|
||||
@@ -14,6 +14,7 @@ cd $PROJECT_ROOT_DIR && sh docker-maven-build.sh && cd -
|
||||
cd $BUILD_DOCKER_DIR \
|
||||
&& tar zxvf $PROJECT_ROOT_DIR/target/dbswitch-release-${DBSWITCH_VERSION}.tar.gz -C /tmp \
|
||||
&& cp /tmp/dbswitch-release-${DBSWITCH_VERSION}/lib/* ${BUILD_DOCKER_DIR}/dbswitch/dbswitch-release/lib/ \
|
||||
&& cp /tmp/dbswitch-release-${DBSWITCH_VERSION}/ext/* ${BUILD_DOCKER_DIR}/dbswitch/dbswitch-release/ext/ \
|
||||
&& cp -r /tmp/dbswitch-release-${DBSWITCH_VERSION}/drivers/* ${BUILD_DOCKER_DIR}/dbswitch/dbswitch-release/drivers/ \
|
||||
&& rm -rf /tmp/dbswitch-release-*
|
||||
|
||||
|
@@ -18,6 +18,7 @@ APP_HOME="$(cd "$(dirname ${APP_HOME})"; pwd)"
|
||||
|
||||
APP_BIN_PATH=$APP_HOME/bin
|
||||
APP_LIB_PATH=$APP_HOME/lib
|
||||
APP_EXT_PATH=$APP_HOME/ext
|
||||
APP_CONF_PATH=$APP_HOME/conf
|
||||
export APP_DRIVERS_PATH=$APP_HOME/drivers
|
||||
|
||||
@@ -45,5 +46,6 @@ for i in $APP_LIB_PATH/*.jar
|
||||
do
|
||||
CLASSPATH="$i:$CLASSPATH"
|
||||
done
|
||||
CLASSPATH="$CLASSPATH:$APP_EXT_PATH/*"
|
||||
|
||||
$JAVA -cp $CLASSPATH $JVMFLAGS $APP_MAIN $APP_CONF_PATH
|
||||
|
0
build-docker/dbswitch/dbswitch-release/ext/.gitkeep
Normal file
0
build-docker/dbswitch/dbswitch-release/ext/.gitkeep
Normal file
@@ -19,7 +19,7 @@ services:
|
||||
start_period: 30s
|
||||
dbswitch:
|
||||
container_name: dbswitch_webui
|
||||
image: inrgihc/dbswitch:1.8.2
|
||||
image: inrgihc/dbswitch:1.9.0
|
||||
environment:
|
||||
MYSQLDB_HOST: dbswitch_mysqldb
|
||||
MYSQLDB_PORT: 3306
|
||||
|
Reference in New Issue
Block a user