mirror of
https://github.com/technorabilia/docker-bits
synced 2024-11-18 15:25:41 +00:00
52 lines
1.2 KiB
YAML
52 lines
1.2 KiB
YAML
# [{{ project_name }}]({{ project_url }}) is a file system crawler and disk
|
|
# space usage software that uses Elasticsearch to index and manage data across
|
|
# heterogeneous storage systems.
|
|
|
|
version: '2'
|
|
services:
|
|
diskover:
|
|
image: linuxserver/diskover
|
|
container_name: diskover
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=Europe/London
|
|
- REDIS_HOST=redis
|
|
- REDIS_PORT=6379
|
|
- ES_HOST=elasticsearch
|
|
- ES_PORT=9200
|
|
- ES_USER=elastic
|
|
- ES_PASS=changeme
|
|
- RUN_ON_START=true
|
|
- USE_CRON=true
|
|
volumes:
|
|
- /path/to/diskover/config:/config
|
|
- /path/to/diskover/data:/data
|
|
ports:
|
|
- 80:80
|
|
- 9181:9181
|
|
- 9999:9999
|
|
mem_limit: 4096m
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- elasticsearch
|
|
- redis
|
|
elasticsearch:
|
|
container_name: elasticsearch
|
|
image: docker.elastic.co/elasticsearch/elasticsearch:5.6.9
|
|
volumes:
|
|
- ${DOCKER_HOME}/elasticsearch/data:/usr/share/elasticsearch/data
|
|
environment:
|
|
- bootstrap.memory_lock=true
|
|
- "ES_JAVA_OPTS=-Xms2048m -Xmx2048m"
|
|
ulimits:
|
|
memlock:
|
|
soft: -1
|
|
hard: -1
|
|
redis:
|
|
container_name: redis
|
|
image: redis:alpine
|
|
volumes:
|
|
- ${HOME}/docker/redis:/data
|
|
|