mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
chore(deps): update elasticsearch docker tag to v8.15.3 (#2316)
* chore(deps): update elasticsearch docker tag to v8.15.3 * Update app version [skip ci] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
This commit is contained in:
co-authored by
renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
github-action update-app-version
parent
38be2bb7fe
commit
9c6c9ed105
@@ -0,0 +1,38 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 9200
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: HTTP Port
|
||||
labelZh: HTTP端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "true"
|
||||
edit: true
|
||||
envKey: ELASTIC_SECURITY
|
||||
labelEn: Password Verification
|
||||
labelZh: 开启密码验证
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: "True"
|
||||
value: "true"
|
||||
- label: "False"
|
||||
value: "false"
|
||||
- default: "Elastic"
|
||||
edit: true
|
||||
envKey: ELASTIC_PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: "ES_JAVA_OPTS=-Xlog:disable -Xlog:gc=debug:stderr -Xms512m -Xmx512m"
|
||||
edit: true
|
||||
envKey: P_ES_JAVA_OPTS
|
||||
labelEn: ES JAVA OPTS
|
||||
labelZh: ES JAVA OPTS
|
||||
required: true
|
||||
type: text
|
||||
@@ -0,0 +1,6 @@
|
||||
cluster.name: "docker-cluster"
|
||||
network.host: 0.0.0.0
|
||||
path.repo: ["/usr/share/elasticsearch/backup"]
|
||||
http.cors.enabled: true
|
||||
http.cors.allow-origin: "*"
|
||||
http.cors.allow-headers: X-Requested-With,Content-Type,Content-Length,Authorization
|
||||
@@ -0,0 +1,30 @@
|
||||
services:
|
||||
elasticsearch:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:9200"
|
||||
volumes:
|
||||
- "./data/data:/usr/share/elasticsearch/data"
|
||||
- "./data/backup:/usr/share/elasticsearch/backup"
|
||||
- "./data/conf/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml"
|
||||
image: elasticsearch:8.15.3
|
||||
ulimits:
|
||||
memlock:
|
||||
soft: -1
|
||||
hard: -1
|
||||
nofile:
|
||||
soft: 65536
|
||||
hard: 65536
|
||||
environment:
|
||||
- discovery.type=single-node
|
||||
- ELASTIC_PASSWORD=${ELASTIC_PASSWORD}
|
||||
- xpack.security.enabled=${ELASTIC_SECURITY}
|
||||
- ${P_ES_JAVA_OPTS}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
chown -R 1000:1000 data
|
||||
Reference in New Issue
Block a user