docker-bits/lsio/diskover/docker-run.sh

20 lines
928 B
Bash
Raw Normal View History

2021-10-17 00:51:24 +00:00
# [Diskover](https://github.com/diskoverdata/diskover-community) is an open
# source file system indexer that uses Elasticsearch to index and manage data
2021-04-21 00:55:42 +00:00
# across heterogeneous storage systems.
2021-04-10 10:16:29 +00:00
source ./.env
docker run -d \
--name=diskover \
-e PUID=${PUID:-1024} `# for GroupID` \
-e PGID=${PGID:-100} `# for UserID` \
2021-04-13 00:58:58 +00:00
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
2021-04-10 10:16:29 +00:00
-e ES_HOST=elasticsearch `# ElasticSearch host (optional)` \
-e ES_PORT=9200 `# ElasticSearch port (optional)` \
-e ES_USER=elastic `# ElasticSearch username (optional)` \
-e ES_PASS=changeme `# ElasticSearch password (optional)` \
-p 80:80 `# diskover Web UI` \
-v ${BASEDIR:-/volume1/docker}/diskover/config:/config `# Persistent config files` \
-v ${BASEDIR:-/volume1/docker}/diskover/data:/data `# Default mount point to crawl` \
--restart unless-stopped \
ghcr.io/linuxserver/diskover