This commit is contained in:
孙小云 2025-05-16 11:48:08 +08:00
parent dd39d9cd3d
commit eb24f7540d
2 changed files with 10 additions and 11 deletions

4
builder/airport.sh Executable file
View File

@ -0,0 +1,4 @@
source ../environment.sh
rm $AIRPORT_JAR
cp $AIRPORT_REMOTE_JAR $AIRPORT_JAR
./builder.sh $AIRPORT_NAME $AIRPORT_IMAGE $AIRPORT_JAR

View File

@ -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