🔖 升级版本.

This commit is contained in:
lijiahangmax
2025-03-23 13:03:48 +08:00
parent 226dfb2c25
commit 88fd0e31e0
10 changed files with 17 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
#/bin/bash
set -e
version=2.3.6
docker build -t orion-visor-adminer:${version} .
docker tag orion-visor-adminer:${version} registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-adminer:${version}

View File

@@ -1,4 +1,5 @@
#/bin/bash
set -e
version=2.3.6
cp -r ../../sql ./sql
docker build -t orion-visor-mysql:${version} .

View File

@@ -12,7 +12,7 @@ socket=/var/run/mysqld/mysqld.sock
# 数据目录
datadir=/var/lib/mysql
# 不区分大小 0区分 1不区分
lower_case_table_names=1
lower_case_table_names=0
# 服务器时区
default-time_zone='+8:00'
# 服务端字符集

View File

@@ -1,4 +1,5 @@
#/bin/bash
set -e
version=2.3.6
docker push registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-adminer:${version}
docker push registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-mysql:${version}

View File

@@ -1,4 +1,5 @@
#/bin/bash
set -e
version=2.3.6
docker build -t orion-visor-redis:${version} .
docker tag orion-visor-redis:${version} registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-redis:${version}

View File

@@ -7,6 +7,8 @@ ARG TZ=Asia/Shanghai
RUN \
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && \
apk update && \
apk add curl && \
apk add fonts-dejavu && \
apk add tzdata && \
apk add dmidecode
# 设置时区

View File

@@ -1,4 +1,5 @@
#/bin/bash
set -e
version=2.3.6
mv ../../orion-visor-launch/target/orion-visor-launch.jar ./orion-visor-launch.jar
docker build -t orion-visor-service:${version} .

View File

@@ -1,4 +1,5 @@
#/bin/bash
set -e
version=2.3.6
mv ../../orion-visor-ui/dist ./dist
docker build -t orion-visor-ui:${version} .

View File

@@ -27,7 +27,7 @@ server {
}
location /orion-visor/api {
proxy_pass http://localhost:9200/orion-visor/api;
proxy_pass http://service:9200/orion-visor/api;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -35,7 +35,7 @@ server {
}
location /orion-visor/keep-alive {
proxy_pass http://localhost:9200/orion-visor/keep-alive;
proxy_pass http://service:9200/orion-visor/keep-alive;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";