This commit is contained in:
StarsL.cn 2022-06-20 00:47:31 +08:00
parent 994fae69ec
commit 0e3334664b
4 changed files with 31 additions and 1 deletions

View File

@ -3,6 +3,7 @@ help:
build:
cd flask-consul && docker build -t flask-consul:latest .
cd vue-consul && docker build -t nginx-consul:latest .
cd vue-consul && docker build -t nginx-consul:tensuns-latest -f Dockerfile.tensuns .
echo -e "\n\n自行编译的版本注意修改docker-compose.yml中的镜像地址为本地仓库后再启动。\nBlackbox-Manager:\nhttp://{ip}:1026\n"
push:
@ -15,6 +16,8 @@ push:
docker push registry.cn-shenzhen.aliyuncs.com/starsl/nginx-consul:${ver}
docker push registry.cn-shenzhen.aliyuncs.com/starsl/flask-consul:latest
docker push registry.cn-shenzhen.aliyuncs.com/starsl/flask-consul:${ver}
docker tag nginx-consul:tensuns-latest registry.cn-shenzhen.aliyuncs.com/starsl/nginx-consul:tensuns-latest
docker push registry.cn-shenzhen.aliyuncs.com/starsl/nginx-consul:tensuns-latest
update:
docker-compose pull && docker-compose up -d

View File

@ -0,0 +1,11 @@
FROM node:14-alpine AS builder
ADD . /vue
WORKDIR /vue
RUN mv -f src/views/login/index.vue.tensuns src/views/login/index.vue && \
mv -f src/settings.js.tensuns src/settings.js && \
npm install --registry=https://registry.npm.taobao.org && npm run build:prod
FROM nginx:stable-alpine
WORKDIR /www
COPY --from=builder /vue/http-ops.conf /etc/nginx/conf.d/
COPY --from=builder /vue/dist dist/

View File

@ -0,0 +1,16 @@
module.exports = {
title: '后羿 - TenSunS',
/**
* @type {boolean} true | false
* @description Whether fix the header
*/
fixedHeader: false,
/**
* @type {boolean} true | false
* @description Whether show the logo in sidebar
*/
sidebarLogo: false
}

View File

@ -43,7 +43,7 @@
</el-form>
<div align="center" class="title-container">
<span style="font-size:12px" class="title">v0.6.2</span>
<span style="font-size:12px" class="title">v0.6.3</span>
</div>
</div>
</template>