Files
nextcloud-stack/compose.fulltextsearch.yaml
Christian Galo 3106bde00e chore(deps): update elasticsearch to 9.5.7 and searchindexer to nextcloud 32.0.15
Elasticsearch 9.5.7 bundles OpenJDK 27.0.1.1 with the 2026-11-17 Base64 decoder fix (CVE-2026-114938). The searchindexer now matches the app image.
2026-11-25 02:35:21 +00:00

52 lines
1.3 KiB
YAML

services:
elasticsearch:
image: "docker.elastic.co/elasticsearch/elasticsearch:9.5.7"
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- discovery.type=single-node
# Disable authentication and ssl completely
# - xpack.security.enabled=false
# Use this to enable Basic Authentication:
- xpack.security.enabled=true
- xpack.security.http.ssl.enabled=false
- ELASTIC_PASSWORD_FILE=/var/run/secrets/elasticsearch_password
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- elasticsearch:/usr/share/elasticsearch/data
networks:
- internal
secrets:
- source: elasticsearch_password
uid: "1000"
gid: "1000"
mode: 0600
searchindexer:
image: nextcloud:32.0.15-fpm
volumes:
- nextcloud:/var/www/html/
- nextapps:/var/www/html/custom_apps:cached
- nextdata:/var/www/html/data:cached
- nextconfig:/var/www/html/config:cached
- ${EXTRA_VOLUME}
networks:
- internal
entrypoint: su -p www-data -s /bin/sh -c '/var/www/html/occ fulltextsearch:live'
app:
secrets:
- elasticsearch_password
secrets:
elasticsearch_password:
external: true
name: ${STACK_NAME}_elasticsearch_password
volumes:
elasticsearch: