🚀 修订版本.
This commit is contained in:
@@ -4,7 +4,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/orion-ops-pro/Dockerfile
|
dockerfile: docker/orion-ops-pro/Dockerfile
|
||||||
image: orion-ops-pro:1.0.0
|
image: orion-ops-pro:1.0.0-beta.1
|
||||||
ports:
|
ports:
|
||||||
- 1081:80
|
- 1081:80
|
||||||
environment:
|
environment:
|
||||||
@@ -12,7 +12,8 @@ services:
|
|||||||
- MYSQL_HOST=orion-ops-pro-db
|
- MYSQL_HOST=orion-ops-pro-db
|
||||||
- MYSQL_USER=orion
|
- MYSQL_USER=orion
|
||||||
- MYSQL_PASSWORD=Data@123456
|
- MYSQL_PASSWORD=Data@123456
|
||||||
- SECRET_KEY=secret-key
|
- REDIS_PASSWORD=Data@123456
|
||||||
|
- SECRET_KEY=uQeacXV8b3isvKLK
|
||||||
volumes:
|
volumes:
|
||||||
- /data/orion-ops-pro-space/docker-volumes/orion-ops-pro/logs:/root/orion/logs/orion-ops-pro
|
- /data/orion-ops-pro-space/docker-volumes/orion-ops-pro/logs:/root/orion/logs/orion-ops-pro
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
@@ -10,6 +10,6 @@ RUN rm -rf /etc/nginx/conf.d/*
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY orion-ops-launch/target/orion-ops-launch.jar /app/app.jar
|
COPY orion-ops-launch/target/orion-ops-launch.jar /app/app.jar
|
||||||
COPY orion-ops-ui/dist /usr/share/nginx/html
|
COPY orion-ops-ui/dist /usr/share/nginx/html
|
||||||
ADD docker/orion-ops-pro/entrypoint.sh /app/entrypoint.sh
|
COPY docker/orion-ops-pro/entrypoint.sh /app/entrypoint.sh
|
||||||
ADD docker/orion-ops-pro/nginx.conf /etc/nginx/conf.d
|
COPY docker/orion-ops-pro/nginx.conf /etc/nginx/conf.d
|
||||||
ENTRYPOINT [ "sh", "/app/entrypoint.sh" ]
|
ENTRYPOINT [ "sh", "/app/entrypoint.sh" ]
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
|
client_max_body_size 1024m;
|
||||||
|
|
||||||
# 是否启动 gzip 压缩
|
# 是否启动 gzip 压缩
|
||||||
gzip on;
|
gzip on;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
<url>https://github.com/lijiahangmax/orion-ops-pro</url>
|
<url>https://github.com/lijiahangmax/orion-ops-pro</url>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<revision>1.0.0</revision>
|
<revision>1.0.0-beta.1</revision>
|
||||||
<spring.boot.version>2.7.17</spring.boot.version>
|
<spring.boot.version>2.7.17</spring.boot.version>
|
||||||
<spring.boot.admin.version>2.7.15</spring.boot.admin.version>
|
<spring.boot.admin.version>2.7.15</spring.boot.admin.version>
|
||||||
<flatten.maven.plugin.version>1.5.0</flatten.maven.plugin.version>
|
<flatten.maven.plugin.version>1.5.0</flatten.maven.plugin.version>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ public interface OrionOpsProConst {
|
|||||||
/**
|
/**
|
||||||
* 同 ${orion.version} 迭代时候需要手动更改
|
* 同 ${orion.version} 迭代时候需要手动更改
|
||||||
*/
|
*/
|
||||||
String VERSION = "1.0.0";
|
String VERSION = "1.0.0-beta.1";
|
||||||
|
|
||||||
String GITHUB = "https://github.com/lijiahangmax/orion-ops-pro";
|
String GITHUB = "https://github.com/lijiahangmax/orion-ops-pro";
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
druid:
|
druid:
|
||||||
url: jdbc:mysql://${MYSQL_HOST:127.0.0.1}:3306/orion-ops-pro?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=Asia/Shanghai&autoReconnect=true
|
url: jdbc:mysql://${MYSQL_HOST:127.0.0.1}:${MYSQL_PORT:3306}/orion-ops-pro?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=Asia/Shanghai&autoReconnect=true
|
||||||
username: ${MYSQL_USER:root}
|
username: ${MYSQL_USER:root}
|
||||||
password: ${MYSQL_PASSWORD:Data@123456}
|
password: ${MYSQL_PASSWORD:Data@123456}
|
||||||
# 初始连接数
|
# 初始连接数
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ spring:
|
|||||||
multipart:
|
multipart:
|
||||||
# 单个文件大小
|
# 单个文件大小
|
||||||
max-file-size: 16MB
|
max-file-size: 16MB
|
||||||
# 设置总上传的文件大小
|
# 消息体大小
|
||||||
max-request-size: 32MB
|
max-request-size: 32MB
|
||||||
mvc:
|
mvc:
|
||||||
pathmatch:
|
pathmatch:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "orion-ops-pro-ui",
|
"name": "orion-ops-pro-ui",
|
||||||
"description": "Orion Ops Pro for Vue",
|
"description": "Orion Ops Pro for Vue",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0-beta.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"author": "Jiahang Li",
|
"author": "Jiahang Li",
|
||||||
"license": "Apache 2.0",
|
"license": "Apache 2.0",
|
||||||
|
|||||||
@@ -2,7 +2,8 @@ import type { ISftpTransferUploader, SftpTransferItem } from '../types/terminal.
|
|||||||
import { TransferOperatorType, TransferStatus } from '../types/terminal.const';
|
import { TransferOperatorType, TransferStatus } from '../types/terminal.const';
|
||||||
import { getPath } from '@/utils/file';
|
import { getPath } from '@/utils/file';
|
||||||
|
|
||||||
export const BLOCK_SIZE = 1024 * 1024;
|
// 512 KB
|
||||||
|
export const BLOCK_SIZE = 512 * 1024;
|
||||||
|
|
||||||
// sftp 上传器实现
|
// sftp 上传器实现
|
||||||
export default class SftpTransferUploader implements ISftpTransferUploader {
|
export default class SftpTransferUploader implements ISftpTransferUploader {
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@@ -22,7 +22,7 @@
|
|||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<revision>1.0.0</revision>
|
<revision>1.0.0-beta.1</revision>
|
||||||
<maven.compiler.source>8</maven.compiler.source>
|
<maven.compiler.source>8</maven.compiler.source>
|
||||||
<maven.compiler.target>8</maven.compiler.target>
|
<maven.compiler.target>8</maven.compiler.target>
|
||||||
<maven.surefire.plugin.version>3.0.0-M5</maven.surefire.plugin.version>
|
<maven.surefire.plugin.version>3.0.0-M5</maven.surefire.plugin.version>
|
||||||
|
|||||||
Reference in New Issue
Block a user