Your commit message
This commit is contained in:
69
中间件部署/MariaDB.sh
Normal file
69
中间件部署/MariaDB.sh
Normal file
@@ -0,0 +1,69 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
OLD_MYSQL=(mysql MySQL mariadb)
|
||||
for item in ${OLD_MYSQL[@]}
|
||||
do
|
||||
findVar=$(rpm -qa | grep -w ${item} | awk '{print$1}')
|
||||
echo $findVar
|
||||
rpm -e --nodeps $findVar
|
||||
done
|
||||
|
||||
|
||||
cat >> /etc/yum.repos.d/MariaDB.repo <<EOF
|
||||
# MariaDB 10.5 CentOS repository list - created 2021-01-06 06:01 UTC
|
||||
# http://downloads.mariadb.org/mariadb/repositories/
|
||||
# 已经替换为国内的中科大的yum源,选择10.5版本
|
||||
[mariadb]
|
||||
name = MariaDB
|
||||
baseurl = https://mirrors.ustc.edu.cn/mariadb/yum/10.5/centos7-amd64
|
||||
gpgkey=https://mirrors.ustc.edu.cn/mariadb/yum/RPM-GPG-KEY-MariaDB
|
||||
gpgcheck=1
|
||||
EOF
|
||||
|
||||
MariaDBVersion=$(yum list MariaDB-server --showduplicates | grep -w MariaDB | sort -r | awk 'NR==1{print$2}' | cut -d "-" -f1)
|
||||
echo "MariaDB的最新版本为:$MariaDBVersion"
|
||||
rpm --import https://mirrors.ustc.edu.cn/mariadb/yum/RPM-GPG-KEY-MariaDB
|
||||
|
||||
sudo yum install -y MariaDB-server-$MariaDBVersion MariaDB-client-$MariaDBVersion
|
||||
|
||||
echo "
|
||||
n
|
||||
y
|
||||
v2ryStr@ngPa.ss
|
||||
v2ryStr@ngPa.ss
|
||||
y
|
||||
y
|
||||
|
||||
|
||||
" | mysql_secure_installation
|
||||
|
||||
# 配置MariaDB-server的相关属性
|
||||
mv /etc/my.cnf.d/server.conf /etc/my.cnf.d/server.conf_back
|
||||
|
||||
cat >/etc/my.cnf.d/server.conf <<EOF
|
||||
[mysqld]
|
||||
binlog_format = row
|
||||
secure_file_priv=''
|
||||
log-bin=/vdb1/data/mariadb/mysql-bin
|
||||
expire_logs_days=5
|
||||
lower_case_table_names=1
|
||||
server_id = 123
|
||||
skip-character-set-client-handshake=true
|
||||
character-set-client-handshake = FALSE
|
||||
character_set_server=utf8mb4
|
||||
collation-server=utf8mb4_unicode_ci
|
||||
init_connect='SET NAMES utf8mb4'
|
||||
datadir=/data/mariadb
|
||||
log-error=/data/mariadb/mariadb.log
|
||||
slow_query_log=on
|
||||
slow_query_log_file=/data/mariadb/slow_query_log.log
|
||||
long_query_time=1
|
||||
EOF
|
||||
systemctl restart mariadb
|
||||
|
||||
# mysql -u root -p
|
||||
# 创建相应的用户名及密码
|
||||
# create user username@localhost identified by 'password';
|
||||
#授予外网登陆权限
|
||||
# grant all privileges on *.* to username@'%' identified by 'password';
|
||||
47
中间件部署/Nacos.sh
Normal file
47
中间件部署/Nacos.sh
Normal file
@@ -0,0 +1,47 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
#wget https://uno.teracloud.jp/v2/api/share/public/116148eb18ae82c4/5ff5f6f339c4 -O jdk-8u271-linux-x64.tar.gz
|
||||
#wget https://pan.107423.xyz/api/v3/file/download/j8v2CiYppkatcafb?sign=8Z_0Hq9-Fy0UxKiDkchO52YPht8l-dTfi3DTyWSluT4%3D%3A1609922899 -O jdk-8u271-linux-x64.tar.gz
|
||||
|
||||
wget https://objectstorage.ap-seoul-1.oraclecloud.com/n/cnk8d6fazu16/b/seoul/o/jdk-8u271-linux-x64.tar.gz
|
||||
mkdir /usr/local/java/
|
||||
tar -zxvf jdk-8u271-linux-x64.tar.gz -C /usr/local/java/
|
||||
|
||||
cat >>/etc/profile <<EOF
|
||||
export JAVA_HOME=/usr/local/java/jdk1.8.0_271
|
||||
export JRE_HOME=${JAVA_HOME}/jre
|
||||
export CLASSPATH=${JAVA_HOME}/lib:${JRE_HOME}/lib:${CLASSPATH}
|
||||
export PATH=${JAVA_HOME}/bin:${JRE_HOME}/bin:${PATH}
|
||||
EOF
|
||||
source /etc/profile
|
||||
ln -s /usr/local/java/jdk1.8.0_271/bin/java /usr/bin/java
|
||||
java -version
|
||||
|
||||
#wget --no-check-certificate https://github.com/alibaba/nacos/releases/download/1.4.0/nacos-server-1.4.0.tar.gz
|
||||
wget https://objectstorage.ap-seoul-1.oraclecloud.com/n/cnk8d6fazu16/b/seoul/o/nacos-server-1.4.0.tar.gz
|
||||
|
||||
tar -zvxf nacos-server-1.4.0.tar.gz -C /usr/local
|
||||
|
||||
cat >>/lib/systemd/system/nacos.service<<EOF
|
||||
[Unit]
|
||||
Description=nacos
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/local/nacos/bin/startup.sh -m standalone
|
||||
ExecReload=/usr/local/nacos/bin/shutdown.sh
|
||||
ExecStop=/usr/local/nacos/bin/shutdown.sh
|
||||
PrivateTmp=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
|
||||
systemctl daemon-reload
|
||||
systemctl start nacos.service
|
||||
systemctl enable nacos.service
|
||||
|
||||
rm -rf /usr/local/nacos
|
||||
rm -rf /lib/systemd/system/nacos.service
|
||||
32
中间件部署/RabbitMQ.sh
Normal file
32
中间件部署/RabbitMQ.sh
Normal file
@@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
wget https://objectstorage.ap-seoul-1.oraclecloud.com/n/cnk8d6fazu16/b/seoul/o/socat-1.7.3.2-5.el7.lux.x86_64.rpm
|
||||
rpm -ivh socat-1.7.3.2-5.el7.lux.x86_64.rpm
|
||||
|
||||
wget https://objectstorage.ap-seoul-1.oraclecloud.com/n/cnk8d6fazu16/b/seoul/o/erlang-18.3-1.el7.centos.x86_64.rpm
|
||||
|
||||
rpm -ivh erlang-18.3-1.el7.centos.x86_64.rpm
|
||||
|
||||
wget https://objectstorage.ap-seoul-1.oraclecloud.com/n/cnk8d6fazu16/b/seoul/o/rabbitmq-server-3.6.5-1.noarch.rpm
|
||||
|
||||
rpm -ivh rabbitmq-server-3.6.5-1.noarch.rpm
|
||||
|
||||
RabbitMQDataPath=/data/rabbitmq
|
||||
mkdir -p ${RabbitMQDataPath} && mkdir -p ${RabbitMQDataPath}/logs
|
||||
chmod -R 777 ${RabbitMQDataPath}
|
||||
chown -R rabbitmq:rabbitmq ${RabbitMQDataPath} && chown -R rabbitmq:rabbitmq ${RabbitMQDataPath}/logs
|
||||
|
||||
cat >>/etc/rabbitmq/rabbitmq-env.conf <<EOF
|
||||
RABBITMQ_MNESIA_BASE=${RabbitMQDataPath}
|
||||
RABBITMQ_LOG_BASE=${RabbitMQDataPath}/logs
|
||||
EOF
|
||||
chmod -R 644 /etc/rabbitmq/
|
||||
|
||||
systemctl start rabbitmq-server
|
||||
rabbitmq-plugins enable rabbitmq_management
|
||||
systemctl restart rabbitmq-server
|
||||
systemctl enable rabbitmq-server
|
||||
|
||||
rabbitmqctl add_user etour eTour@5672
|
||||
rabbitmqctl set_user_tags etour administrator
|
||||
22
中间件部署/Redis.sh
Normal file
22
中间件部署/Redis.sh
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
RedisVersion=5.0.5
|
||||
|
||||
wget http://download.redis.io/releases/redis-$RedisVersion.tar.gz
|
||||
tar -zvxf redis-$RedisVersion.tar.gz
|
||||
|
||||
cd ./redis-$RedisVersion
|
||||
yum install gcc -y
|
||||
./configure
|
||||
make
|
||||
make install
|
||||
|
||||
|
||||
mkdir -p /etc/redis/
|
||||
cp ./redis.conf /etc/redis/6379.conf
|
||||
|
||||
cp ./utils/redis_init_script /etc/init.d/redisd
|
||||
cd /etc/init.d/
|
||||
chkconfig redisd on
|
||||
|
||||
service redisd start
|
||||
11
中间件部署/backend-base-image.dockerfile
Normal file
11
中间件部署/backend-base-image.dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM java:8
|
||||
MAINTAINER wdd<wdd@cmii.com>
|
||||
WORKDIR /ems
|
||||
COPY agent /ems/agent
|
||||
|
||||
|
||||
docker build -t aiboxhb.cdcyy.cn:8033/etour/java8-skywalking_agent:7.0 .
|
||||
|
||||
docker login --username=etour --password=eTour@jenkins123 http://aiboxhb.cdcyy.cn:8033
|
||||
|
||||
docker push aiboxhb.cdcyy.cn:8033/etour/java8-skywalking_agent:7.0
|
||||
97
中间件部署/mongoDB-4.0.sh
Normal file
97
中间件部署/mongoDB-4.0.sh
Normal file
@@ -0,0 +1,97 @@
|
||||
#!/bin/bash
|
||||
|
||||
setenforce 0
|
||||
sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config
|
||||
|
||||
cat >>/etc/yum.repos.d/mongodb-org-4.0.repo<<EOF
|
||||
[mongodb-org]
|
||||
name=MongoDB Repository
|
||||
baseurl=http://mirrors.aliyun.com/mongodb/yum/redhat/7Server/mongodb-org/4.0/x86_64/
|
||||
gpgcheck=0
|
||||
enabled=1
|
||||
EOF
|
||||
|
||||
yum install -y mongodb-org
|
||||
|
||||
MongoDBDataPath=/data/mogodb-data
|
||||
mkdir -p ${MongoDBDataPath} && touch ${MongoDBDataPath}/mongod.log
|
||||
chown -R mongod:mongod ${MongoDBDataPath}
|
||||
|
||||
systemctl daemon-reload
|
||||
systemctl start mongod
|
||||
|
||||
mv /etc/mongod.conf /etc/mongod.conf_bak
|
||||
cat >>/etc/mongod.conf <<EOF
|
||||
# mongod.conf
|
||||
|
||||
# for documentation of all options, see:
|
||||
# http://docs.mongodb.org/manual/reference/configuration-options/
|
||||
|
||||
# where to write logging data.
|
||||
systemLog:
|
||||
destination: file
|
||||
logAppend: true
|
||||
path: /data/mogodb-data/mongod.log
|
||||
|
||||
# Where and how to store data.
|
||||
storage:
|
||||
dbPath: /data/mogodb-data
|
||||
journal:
|
||||
enabled: true
|
||||
# engine:
|
||||
# mmapv1:
|
||||
wiredTiger:
|
||||
engineConfig:
|
||||
cacheSizeGB: 4
|
||||
|
||||
# how the process runs
|
||||
processManagement:
|
||||
fork: true # fork and run in background
|
||||
pidFilePath: /var/run/mongodb/mongod.pid # location of pidfile
|
||||
timeZoneInfo: /usr/share/zoneinfo
|
||||
|
||||
# network interfaces
|
||||
net:
|
||||
port: 27017
|
||||
bindIp: 0.0.0.0 # Enter 0.0.0.0,:: to bind to all IPv4 and IPv6 addresses or, alternatively, use the net.bindIpAll setting.
|
||||
|
||||
|
||||
security:
|
||||
authorization: enabled
|
||||
|
||||
#operationProfiling:
|
||||
|
||||
#replication:
|
||||
|
||||
#sharding:
|
||||
|
||||
## Enterprise-Only Options
|
||||
|
||||
#auditLog:
|
||||
|
||||
#snmp:
|
||||
EOF
|
||||
|
||||
systemctl restart mongod
|
||||
|
||||
|
||||
echo "
|
||||
use admin
|
||||
|
||||
db.createUser(
|
||||
{
|
||||
user: "etour",
|
||||
pwd: "eTour@27017",
|
||||
roles: [
|
||||
{ role: "userAdminAnyDatabase", db: "admin" },
|
||||
{ role: "userAdmin", db: "admin" },
|
||||
{ role: "dbAdminAnyDatabase", db: "admin" }
|
||||
]
|
||||
}
|
||||
)
|
||||
" | mongo --port 27017
|
||||
|
||||
db.grantRolesToUser( "etour" , [ { role: "userAdmin", db: "admin" } ])
|
||||
db.grantRolesToUser( "etour" , [ { role: "dbAdminAnyDatabase", db: "admin" } ])
|
||||
db.grantRolesToUser( "etour" , [ { role: "root", db: "admin" } ])
|
||||
|
||||
65
中间件部署/skywalking-server-docker-compose.yaml
Normal file
65
中间件部署/skywalking-server-docker-compose.yaml
Normal file
@@ -0,0 +1,65 @@
|
||||
version: '3.3'
|
||||
services:
|
||||
elasticsearch:
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.5.0
|
||||
container_name: elasticsearch
|
||||
restart: always
|
||||
ports:
|
||||
- 9200:9200
|
||||
environment:
|
||||
- discovery.type=single-node
|
||||
- bootstrap.memory_lock=true
|
||||
- xpack.security.enabled=false
|
||||
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
||||
- xpack.license.self_generated.type=basic
|
||||
- xpack.monitoring.collection.enabled=false
|
||||
ulimits:
|
||||
memlock:
|
||||
soft: -1
|
||||
hard: -1
|
||||
volumes:
|
||||
- type: bind
|
||||
source: /data/elasticsearch
|
||||
target: /usr/share/elasticsearch/data
|
||||
read_only: false
|
||||
networks:
|
||||
- skywalking-server
|
||||
|
||||
oap:
|
||||
image: apache/skywalking-oap-server:7.0.0-es7
|
||||
container_name: oap
|
||||
depends_on:
|
||||
- elasticsearch
|
||||
links:
|
||||
- elasticsearch
|
||||
restart: always
|
||||
ports:
|
||||
- 11800:11800
|
||||
- 12800:12800
|
||||
environment:
|
||||
SW_STORAGE: elasticsearch7
|
||||
SW_STORAGE_ES_CLUSTER_NODES: elasticsearch:9200
|
||||
networks:
|
||||
- skywalking-server
|
||||
|
||||
ui:
|
||||
image: apache/skywalking-ui:7.0.0
|
||||
container_name: ui
|
||||
depends_on:
|
||||
- oap
|
||||
links:
|
||||
- oap
|
||||
restart: always
|
||||
ports:
|
||||
- 8666:8080
|
||||
environment:
|
||||
SW_OAP_ADDRESS: oap:12800
|
||||
networks:
|
||||
- skywalking-server
|
||||
|
||||
networks:
|
||||
skywalking-server:
|
||||
# default driver is bridge
|
||||
# dirver: bridge
|
||||
external: true
|
||||
name: skywalking-server
|
||||
BIN
中间件部署/基础服务组件-docker-compose.zip
Normal file
BIN
中间件部署/基础服务组件-docker-compose.zip
Normal file
Binary file not shown.
23
中间件部署/基础服务组件-docker-compose/clean-db+logs.txt
Normal file
23
中间件部署/基础服务组件-docker-compose/clean-db+logs.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
|
||||
rm -r ./mariadb-10.5.5/persistant-data/*
|
||||
rm -r ./mogodb-4.0/persit-data/*
|
||||
rm -r ./nacos-1.4.0/logs/*
|
||||
rm -r ./nacos-1.4.0/mysql-data/*
|
||||
rm -r ./redis-5.0.9/persit-data/*
|
||||
|
||||
|
||||
{
|
||||
"debug": true,
|
||||
"experimental": false,
|
||||
"insecure-registries": [
|
||||
"aiboxhb.cdcyy.cn:8033"
|
||||
],
|
||||
"registry-mirrors": [
|
||||
"https://docker.mirrors.ustc.edu.cn",
|
||||
"https://reg-mirror.qiniu.com",
|
||||
"https://dockerhub.azk8s.cn",
|
||||
"https://hub-mirror.c.163.com",
|
||||
"https://registry.docker-cn.com"
|
||||
]
|
||||
}
|
||||
95
中间件部署/基础服务组件-docker-compose/docker-compose.yml
Normal file
95
中间件部署/基础服务组件-docker-compose/docker-compose.yml
Normal file
@@ -0,0 +1,95 @@
|
||||
version: '3'
|
||||
services:
|
||||
mariadb:
|
||||
image: "mariadb:10.5.5"
|
||||
ports:
|
||||
- "3306:3306"
|
||||
volumes:
|
||||
- "./mariadb-10.5.5/persistant-data:/var/lib/mysql"
|
||||
- "./mariadb-10.5.5/initdb-sql:/docker-entrypoint-initdb.d"
|
||||
environment:
|
||||
MYSQL_USER: "lishi"
|
||||
MYSQL_PASSWORD: "Lishi@123456"
|
||||
MYSQL_ROOT_PASSWORD: "Lishi@123456"
|
||||
|
||||
redis:
|
||||
image: redis:5.0.5
|
||||
container_name: redis-6379
|
||||
restart: always
|
||||
ports:
|
||||
- "6379:6379"
|
||||
volumes:
|
||||
- "./redis-5.0.9/redis-conf/redis-6379.conf:/usr/local/etc/redis/redis.conf"
|
||||
- "./redis-5.0.9/persit-data:/data"
|
||||
command: redis-server /usr/local/etc/redis/redis.conf
|
||||
|
||||
# nacos:
|
||||
# hostname: nacos
|
||||
# image: nacos/nacos-server:1.4.0
|
||||
# container_name: nacos
|
||||
# volumes:
|
||||
# - "./nacos-1.4.0/logs/:/home/nacos/logs"
|
||||
# - "./nacos-1.4.0/init.d/custom.properties:/home/nacos/init.d/custom.properties"
|
||||
# ports:
|
||||
# - "8848:8848"
|
||||
# - "9555:9555"
|
||||
# env_file:
|
||||
# - "./nacos-1.4.0/env/nacos-hostname.env"
|
||||
# restart: always
|
||||
# depends_on:
|
||||
# - mysql
|
||||
|
||||
# mysql:
|
||||
# container_name: mysql
|
||||
# image: nacos/nacos-mysql:5.7
|
||||
# env_file:
|
||||
# - "./nacos-1.4.0/env/mysql.env"
|
||||
# volumes:
|
||||
# - "./nacos-1.4.0/mysql-data:/var/lib/mysql"
|
||||
# ports:
|
||||
# - "3309:3306"
|
||||
|
||||
|
||||
rabbitmq:
|
||||
image: rabbitmq:3.6.5
|
||||
container_name: rabbitmq
|
||||
environment:
|
||||
- RABBITMQ_DEFAULT_USER=admin
|
||||
- RABBITMQ_DEFAULT_PASS=Lishi@123456
|
||||
restart: always
|
||||
ports:
|
||||
- "15672:15672"
|
||||
- "5672:5672"
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "200k"
|
||||
max-file: "10"
|
||||
|
||||
mongo:
|
||||
image: mongo:4.0
|
||||
container_name: mongodb
|
||||
restart: always
|
||||
environment:
|
||||
MONGO_INITDB_ROOT_USERNAME: lishi
|
||||
MONGO_INITDB_ROOT_PASSWORD: Lishi@123456
|
||||
ports:
|
||||
- "27017:27017"
|
||||
volumes:
|
||||
- "./mogodb-4.0/persit-data:/data/db"
|
||||
- "./mogodb-4.0/mongo-entrypoint/:/docker-entrypoint-initdb.d/" #目录下创建docker-entrypoint-initdb.sh初始化数据库脚本
|
||||
command: mongod
|
||||
|
||||
mongo-express:
|
||||
image: mongo-express
|
||||
container_name: mongo-express
|
||||
restart: always
|
||||
ports:
|
||||
- 8081:8081
|
||||
|
||||
chengdu_emergency:
|
||||
image: aiboxhb.cdcyy.cn:8033/etour/chengdu-emergency@sha256:af2ec062507bbaaf235a2710a27bdd8fd9189f55e64031d084e98a3aedc08dc0
|
||||
container_name: chengdu_emergency
|
||||
restart: always
|
||||
ports:
|
||||
- 18888:18888
|
||||
@@ -0,0 +1,14 @@
|
||||
CREATE DATABASE IF NOT EXISTS testdb;
|
||||
|
||||
use testdb;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS tasks (
|
||||
task_id INT AUTO_INCREMENT PRIMARY KEY,
|
||||
title VARCHAR(255) NOT NULL,
|
||||
start_date DATE,
|
||||
due_date DATE,
|
||||
status TINYINT NOT NULL,
|
||||
priority TINYINT NOT NULL,
|
||||
description TEXT,
|
||||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
||||
) ENGINE=INNODB;
|
||||
4
中间件部署/基础服务组件-docker-compose/nacos-1.4.0/env/mysql.env
vendored
Normal file
4
中间件部署/基础服务组件-docker-compose/nacos-1.4.0/env/mysql.env
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
MYSQL_ROOT_PASSWORD=Lishi123456
|
||||
MYSQL_DATABASE=nacos_devtest
|
||||
MYSQL_USER=nacos
|
||||
MYSQL_PASSWORD=Lishi123456
|
||||
12
中间件部署/基础服务组件-docker-compose/nacos-1.4.0/env/nacos-hostname.env
vendored
Normal file
12
中间件部署/基础服务组件-docker-compose/nacos-1.4.0/env/nacos-hostname.env
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
PREFER_HOST_MODE=hostname
|
||||
MODE=standalone
|
||||
SPRING_DATASOURCE_PLATFORM=mysql
|
||||
MYSQL_SERVICE_HOST=mysql
|
||||
MYSQL_SERVICE_DB_NAME=nacos_devtest
|
||||
MYSQL_SERVICE_PORT=3309
|
||||
MYSQL_SERVICE_USER=nacos
|
||||
MYSQL_SERVICE_PASSWORD=Lishi123456
|
||||
# 上面的密码到底是什么
|
||||
|
||||
# 添加如下内容
|
||||
JVM_XMS=1024m
|
||||
@@ -0,0 +1,19 @@
|
||||
#spring.security.enabled=false
|
||||
#management.security=false
|
||||
#security.basic.enabled=false
|
||||
#nacos.security.ignore.urls=/**
|
||||
#management.metrics.export.elastic.host=http://localhost:9200
|
||||
# metrics for prometheus
|
||||
management.endpoints.web.exposure.include=*
|
||||
|
||||
# metrics for elastic search
|
||||
#management.metrics.export.elastic.enabled=false
|
||||
#management.metrics.export.elastic.host=http://localhost:9200
|
||||
|
||||
# metrics for influx
|
||||
#management.metrics.export.influx.enabled=false
|
||||
#management.metrics.export.influx.db=springboot
|
||||
#management.metrics.export.influx.uri=http://localhost:8086
|
||||
#management.metrics.export.influx.auto-create-db=true
|
||||
#management.metrics.export.influx.consistency=one
|
||||
#management.metrics.export.influx.compressed=true
|
||||
@@ -0,0 +1,9 @@
|
||||
port 6379
|
||||
protected-mode no
|
||||
requirepass Lishi@123456
|
||||
daemonize no
|
||||
appendonly yes
|
||||
cluster-enabled no
|
||||
databases 1
|
||||
|
||||
## 待修复
|
||||
Reference in New Issue
Block a user