feat(mall): 更新部署脚本

master
waynaqua 1 year ago
parent 5c7a4bab28
commit 612ea55dec

@ -2,11 +2,16 @@ version: '3'
services: services:
# RabbitMQ # RabbitMQ
rabbitmq: rabbitmq:
image: rabbitmq:management image: rabbitmq:3.12.7-management
ports: ports:
- "5672:5672" - "5672:5672"
- "15672:15672" - "15672:15672"
container_name: rabbitmq container_name: rabbitmq
volumes:
- ./rabbitmq/plugins:/plugins
- ./rabbitmq/plugins/enabled_plugins:/etc/rabbitmq/enabled_plugins
- ./rabbitmq/data:/var/lib/rabbitmq
- ./rabbitmq/log:/var/lib/rabbitmq
environment: environment:
#rabbitmq的初始用户名 #rabbitmq的初始用户名
RABBITMQ_DEFAULT_USER: guest RABBITMQ_DEFAULT_USER: guest
@ -15,15 +20,17 @@ services:
network_mode: "host" network_mode: "host"
# Elasticsearch服务 # Elasticsearch服务
elasticsearch: elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.0 image: elasticsearch:7.14.0
ports:
- "9200:9200"
container_name: elasticsearch container_name: elasticsearch
volumes: volumes:
- ./es/data:/usr/share/elasticsearch/data - ./es/data:/usr/share/elasticsearch/data
- ./es/plugins:/usr/share/elasticsearch/plugins - ./es/plugins:/usr/share/elasticsearch/plugins
# - ./es/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml - ./es/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
environment: environment:
- discovery.type=single-node - discovery.type=single-node
- bootstrap.memory_lock=true - bootstrap.memory_lock=true
- ELASTIC_PASSWORD="123456"
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
# - "ELASTIC_PASSWORD: 123456"
network_mode: "host" network_mode: "host"

@ -99,19 +99,6 @@ services:
- ./redis/data:/data - ./redis/data:/data
command: redis-server /etc/redis/redis.conf command: redis-server /etc/redis/redis.conf
network_mode: "host" network_mode: "host"
# RabbitMQ
rabbitmq:
image: rabbitmq:management
ports:
- "5672:5672"
- "15672:15672"
container_name: rabbitmq
environment:
#rabbitmq的初始用户名
RABBITMQ_DEFAULT_USER: guest
#rabbitmq的初始密码
RABBITMQ_DEFAULT_PASS: guest
network_mode: "host"
# MySQL服务 # MySQL服务
mysql: mysql:
container_name: mysql container_name: mysql
@ -127,16 +114,38 @@ services:
- ./db-init:/docker-entrypoint-initdb.d - ./db-init:/docker-entrypoint-initdb.d
command: mysqld --lower_case_table_names=1 --default-authentication-plugin=mysql_native_password command: mysqld --lower_case_table_names=1 --default-authentication-plugin=mysql_native_password
network_mode: "host" network_mode: "host"
# RabbitMQ
rabbitmq:
image: rabbitmq:3.12.7-management
ports:
- "5672:5672"
- "15672:15672"
container_name: rabbitmq
volumes:
- ./rabbitmq/plugins:/plugins
- ./rabbitmq/plugins/enabled_plugins:/etc/rabbitmq/enabled_plugins
- ./rabbitmq/data:/var/lib/rabbitmq
- ./rabbitmq/log:/var/lib/rabbitmq
environment:
#rabbitmq的初始用户名
RABBITMQ_DEFAULT_USER: guest
#rabbitmq的初始密码
RABBITMQ_DEFAULT_PASS: guest
network_mode: "host"
# Elasticsearch服务 # Elasticsearch服务
elasticsearch: elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.0 image: elasticsearch:7.14.0
ports:
- "9200:9200"
container_name: elasticsearch container_name: elasticsearch
volumes: volumes:
- ./es/data:/usr/share/elasticsearch/data - ./es/data:/usr/share/elasticsearch/data
- ./es/plugins:/usr/share/elasticsearch/plugins - ./es/plugins:/usr/share/elasticsearch/plugins
- ./es/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
environment: environment:
- discovery.type=single-node - discovery.type=single-node
- bootstrap.memory_lock=true - bootstrap.memory_lock=true
- ELASTIC_PASSWORD="123456"
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
network_mode: "host" network_mode: "host"
nginx: nginx:

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,31 +0,0 @@
也
使

File diff suppressed because it is too large Load Diff

@ -1,25 +0,0 @@
使

@ -1,316 +0,0 @@
世纪
位数
像素
克拉
公亩
公克
公分
公升
公尺
公担
公斤
公里
公顷
分钟
分米
加仑
千克
千米
厘米
周年
小时
平方
平方公尺
平方公里
平方分米
平方厘米
平方码
平方米
平方英寸
平方英尺
平方英里
平米
年代
年级
月份
毫升
毫米
毫克
海里
点钟
盎司
秒钟
立方公尺
立方分米
立方厘米
立方码
立方米
立方英寸
立方英尺
英亩
英寸
英尺
英里
阶段

@ -1,33 +0,0 @@
a
an
and
are
as
at
be
but
by
for
if
in
into
is
it
no
not
of
on
or
such
that
the
their
then
there
these
they
this
to
was
will
with

@ -1,37 +0,0 @@
斯基
维奇
诺夫

@ -1,131 +0,0 @@
丁
万俟
上官
东方
令狐
仲孙
公冶
公孙
公羊
单于
司徒
司空
司马
夏侯
太叔
宇文
宗政
尉迟
慕容
欧阳
淳于
澹台
濮阳
申屠
皇甫
诸葛
赫连
轩辕
钟离
长孙
闻人
闾丘
鲜于

@ -1,56 +0,0 @@
# Elasticsearch plugin descriptor file
# This file must exist as 'plugin-descriptor.properties' at
# the root directory of all plugins.
#
# A plugin can be 'site', 'jvm', or both.
#
### example site plugin for "foo":
#
# foo.zip <-- zip file for the plugin, with this structure:
# _site/ <-- the contents that will be served
# plugin-descriptor.properties <-- example contents below:
#
# site=true
# description=My cool plugin
# version=1.0
#
### example jvm plugin for "foo"
#
# foo.zip <-- zip file for the plugin, with this structure:
# <arbitrary name1>.jar <-- classes, resources, dependencies
# <arbitrary nameN>.jar <-- any number of jars
# plugin-descriptor.properties <-- example contents below:
#
# jvm=true
# classname=foo.bar.BazPlugin
# description=My cool plugin
# version=2.0.0-rc1
# elasticsearch.version=2.0
# java.version=1.7
#
### mandatory elements for all plugins:
#
# 'description': simple summary of the plugin
description=IK Analyzer for Elasticsearch
#
# 'version': plugin's version
version=7.10.0
#
# 'name': the plugin name
name=analysis-ik
#
# 'classname': the name of the class to load, fully-qualified.
classname=org.elasticsearch.plugin.analysis.ik.AnalysisIkPlugin
#
# 'java.version' version of java the code is built against
# use the system property java.specification.version
# version string must be a sequence of nonnegative decimal integers
# separated by "."'s and may have leading zeros
java.version=1.8
#
# 'elasticsearch.version' version of elasticsearch compiled against
# You will have to release a new version of the plugin for each new
# elasticsearch release. This version is checked when the plugin
# is loaded so Elasticsearch will refuse to start in the presence of
# plugins with the incorrect elasticsearch.version.
elasticsearch.version=7.10.0

@ -1,4 +0,0 @@
grant {
// needed because of the hot reload functionality
permission java.net.SocketPermission "*", "connect,resolve";
};

@ -0,0 +1 @@
[rabbitmq_delayed_message_exchange,rabbitmq_management].
Loading…
Cancel
Save