commit:支持app的纯后台服务

This commit is contained in:
Jerry
2020-10-29 18:54:21 +08:00
parent 96fddccc47
commit dd555d8bb1
656 changed files with 46519 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
ARG ES_VER
FROM elasticsearch:${ES_VER}
# 设置时区为上海
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

View File

@@ -0,0 +1,15 @@
# 设置支持Elasticsearch-Head
http.cors.enabled: true
http.cors.allow-origin: "*"
# 设置集群Master配置信息
cluster.name: "docker-cluster-master"
# 设置网络如果是本机的话就是127.0.0.1其他服务器配置对应的IP地址即可(0.0.0.0支持外网访问)
network.host: 0.0.0.0
# 密码验证
# xpack.security.enabled: true
# xpack.security.transport.ssl.enabled: true
# 单节点模式
discovery.type: single-node