diff --git a/builder/airport.sh b/builder/airport.sh new file mode 100755 index 0000000..47790d3 --- /dev/null +++ b/builder/airport.sh @@ -0,0 +1,4 @@ +source ../environment.sh +rm $AIRPORT_JAR +cp $AIRPORT_REMOTE_JAR $AIRPORT_JAR +./builder.sh $AIRPORT_NAME $AIRPORT_IMAGE $AIRPORT_JAR \ No newline at end of file diff --git a/environment.sh b/environment.sh index c09ba43..8d8f019 100644 --- a/environment.sh +++ b/environment.sh @@ -140,18 +140,13 @@ export HHZ_ADMIN_JAR=tuoheng_hhz_admin.jar export HHZ_ADMIN_REMOTE_JAR=/home/th/workspace/test/swarm/dockerfile/hhz-admin/${HHZ_ADMIN_JAR} export HHZ_ADMIN_MEMORY=512m +export AIRPORT_NAME=AIRPORT_${DOMAIN} +export AIRPORT_IMAGE=${REGISTRY_HOST}airport:${DOMAIN} +export AIRPORT_JAR=tuoheng_airport_admin.jar +export AIRPORT_REMOTE_JAR=/home/th/workspace/test/swarm/dockerfile/airport/${AIRPORT_JAR} +export AIRPORT_MEMORY=512m + -#主机INGRESS_PORT 映射到容器80 INGRESS_SSL_PORT 映射到容器 443 -export INGRESS_PORT=80 -#export INGRESS_SSL_PORT=443 - -export OIDC_URL=https://oidc-$DOMAIN-software.t-aaron.com -export OIDC_PORT=8090 -export XXL_JOB=http://xxljob:8080/xxl-job-admin -#固定基本配置 -export TZ=Asia/Shanghai -export SPRING_CLOUD_CONSUL_HOST=consul -export SPRING_CLOUD_CONSUL_PORT=8500