mirror of
https://github.com/technorabilia/docker-bits
synced 2024-11-05 00:00:32 +00:00
48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
# [Diskover](https://github.com/diskoverdata/diskover-community) is an open
|
|
# source file system indexer that uses Elasticsearch to index and manage data
|
|
# across heterogeneous storage systems.
|
|
|
|
version: '2'
|
|
services:
|
|
diskover:
|
|
image: ghcr.io/linuxserver/diskover
|
|
container_name: diskover
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=America/New_York
|
|
- ES_HOST=elasticsearch
|
|
- ES_PORT=9200
|
|
volumes:
|
|
- /path/to/diskover/config:/config
|
|
- /path/to/diskover/data:/data
|
|
ports:
|
|
- 80:80
|
|
mem_limit: 4096m
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- elasticsearch
|
|
elasticsearch:
|
|
container_name: elasticsearch
|
|
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.2
|
|
environment:
|
|
- discovery.type=single-node
|
|
- bootstrap.memory_lock=true
|
|
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
|
|
ulimits:
|
|
memlock:
|
|
soft: -1
|
|
hard: -1
|
|
volumes:
|
|
- /path/to/esdata:/usr/share/elasticsearch/data
|
|
ports:
|
|
- 9200:9200
|
|
depends_on:
|
|
- elasticsearch-helper
|
|
restart: unless-stopped
|
|
elasticsearch-helper:
|
|
image: alpine
|
|
command: sh -c "sysctl -w vm.max_map_count=262144"
|
|
privileged: true
|
|
|