mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-14 23:22:09 +08:00
12cc241696
* chore(deps): update elasticsearch docker tag to v8.12.1 * 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>
32 lines
800 B
YAML
32 lines
800 B
YAML
version: '3'
|
|
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.12.1
|
|
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
|