1
0

chore: docker部署安装脚本

This commit is contained in:
TsMask
2024-12-12 14:36:43 +08:00
parent 1fa9442c1f
commit 62bfc47a0a
10 changed files with 6493 additions and 48 deletions

View File

@@ -1,11 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OMC Document</title>
</head>
<body>
<h1>OMC</h1>
</body>
</html>

View File

@@ -1 +1 @@
aNHIGgEM8peJlhuQr1jjoTww/bap9p8cdnEpbPlX0LvvYDLw1X6tqNxeN0QyGdSQHRkpiS7jw2eFiuWsB7sPewohAq2nZgqyYcbg88pjViM72CkCrv0mQ+Ia0ir/FN5zjG0KCy7Dju6Rr7uENqdNVA==
# unique

View File

@@ -8,10 +8,6 @@ logger:
duration: 24
count: 2
pprof:
enabled: true
addr: :33060
# rest agent listen ipv4/v6 and port, support multiple routines
# ip: 0.0.0.0 or ::0, support IPv4/v6
# clientAuthType: 0:NoClientCert (default), 1:RequestClientCert, 2:RequireAnyClientCert,
@@ -28,19 +24,19 @@ database:
type: mysql
user: root
password: "1000omc@kp!"
host: "192.168.9.58"
port: 13306
host: "omc_mysql"
port: 3306
name: "omc_db"
connParam: charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=True&interpolateParams=True
backup: d:/omc.git/be.ems/restagent/database
backup: "/usr/local/etc/omc/database"
# Redis data cache
redis:
dataSource:
# OMC system db
default:
port: 16379 # Redis port
host: "192.168.9.58" # Redis host
port: 6379 # Redis port
host: "omc_redis" # Redis host
password: "helloearth"
db: 10 # Redis db_num
# used to specify the default data source for multiple data resourece
@@ -54,12 +50,11 @@ mml:
sizeRow: 600
sizeCol: 128
bufferSize: 65535
mmlHome: ./mmlhome
# Tracking configuration
trace:
enabled: true
host: "192.168.5.58" # Fill in the specific IP address
host: "0.0.0.0" # Fill in the specific IP address
port: 33033
# NE config
@@ -93,12 +88,12 @@ omc:
checksign: false
rootDir: ./
binDir: ./bin
backup: C:/usr/local/omc/backup
upload: C:/usr/local/omc/upload
frontUpload: C:/usr/local/omc/upload
frontTraceDir: C:/usr/local/omc/trace
software: C:/usr/local/omc/software
license: C:/usr/local/omc/license
backup: /usr/local/omc/backup
upload: /usr/local/omc/upload
frontUpload: /usr/local/omc/upload
frontTraceDir: /usr/local/omc/trace
software: /usr/local/omc/software
license: /usr/local/omc/license
gtpUri: gtp:192.168.2.219:2152
checkContentType: false
testMode: false
@@ -150,8 +145,8 @@ auth:
token: true
expires: 1800
session: multiple
publicKey: ./etc/certs/omc_pub.key
privateKey: ./etc/certs/omc_pri.key
publicKey: /usr/local/omc/certs/omc_pub.key
privateKey: /usr/local/omc/omc_pri.key
# Parameter for limit number
# rmuid_maxnum: the max number of rmUID, default: 50
@@ -168,11 +163,13 @@ params:
urimaxlen: 2100000
rmuidregexp: "[0-9]{4}[A-Z]{2}[A-Z]{2}[0-9A-Z]{1}[0-9A-Z]{3}[0-9A-Z]{1,16}"
# 静态文件配置, 相对项目根路径或填绝对路径
# Static file configuration, relative to the project root path or fill in the absolute path
staticFile:
# 默认资源dir目录需要预先创建
# Default resources, dir directories need to be pre-created
default:
prefix: "/static"
dir: "/usr/local/etc/omc/static"
# 文件上传资源目录映射,与项目目录同级
# File upload resource directory mapping, same level as project directory
upload:
dir: "/usr/local/etc/omc/upload"
prefix: "/upload"
dir: "/usr/local/etc/omc/upload"

View File

@@ -0,0 +1 @@
# OMC Upload Dir