From 6048d7f8bf2426b5f4cc5680638e1fb4c73b1c3f Mon Sep 17 00:00:00 2001 From: LinuxServer-CI Date: Mon, 1 Nov 2021 13:39:09 +0100 Subject: [PATCH] Bot Updating Documentation --- images/docker-diskover.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/images/docker-diskover.md b/images/docker-diskover.md index 8e49b802e..3054d677d 100644 --- a/images/docker-diskover.md +++ b/images/docker-diskover.md @@ -38,10 +38,14 @@ This application is dependent on an ElasticSearch instance. Please see the examp The default username is diskover with the password of **darkdata**, access the container at http:///. The UI may be unusable until a valid index has been created. +The default diskover-web Constants.php file located at `/config/diskover-web.conf.d/Constants.php` will need to be edited to allow diskover-web to communicate with the ElasticSearch container. The following entries will need to be edited: +* `const ES_HOST = elasticsearch` +* `const ES_PORT = 9200` + The application doesn't start an index by default. A crontab is created inside of the `/config` directory and can be set up to run automated indexes of `/data`. Changes to this crontab file require a restart to apply. You can also manually run an index by executing `/app/diskover/diskover.py` either in interactive or detached mode: -* `docker exec -u abc -d /app/diskover/diskover.py -i diskover-my_index_name /data` Will run an index in the background -* `docker exec -u abc -it /app/diskover/diskover.py -i diskover-my_index_name /data` Will run an index in the foreground +* `docker exec -u abc -d diskover python3 /app/diskover/diskover.py -i diskover-my_index_name /data` Will run an index in the background +* `docker exec -u abc -it diskover python3 /app/diskover/diskover.py -i diskover-my_index_name /data` Will run an index in the foreground ## Usage @@ -75,6 +79,7 @@ services: image: docker.elastic.co/elasticsearch/elasticsearch:7.10.2 environment: - discovery.type=single-node + - xpack.security.enabled=true - bootstrap.memory_lock=true - "ES_JAVA_OPTS=-Xms1g -Xmx1g" ulimits: @@ -197,6 +202,7 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to ## Versions +* **31.10.21:** - Added xpack.security variable to ElasticSearch; added instructions to edit Constants.php in diskover; corrected command needed to manually generate an index in diskover * **11.10.21:** - Updated to diskover-community v2. * **19.11.20:** - Fix pip packages. * **19.12.19:** - Rebasing to alpine 3.11.