51 Commits

Author SHA1 Message Date
thelamer
f9a08bb097 use s6 cont-env executor for cleanup 2019-08-19 08:47:35 -07:00
Jonathan Crooke
3740ceeb9b Export DISKOVER_ARRAY for cleanup.sh 2019-08-19 08:47:35 -07:00
Chris Yocum
e4ba8c0d4c Add logic to start bots when run_on_start isn't set to true
Unless run_on_start is set to true, no worker bots are started when the container is started causing the user to have to manually start bots if they wish to run any manual Diskover operations like finding dupes or hot dirs.
2019-08-19 08:33:06 -07:00
Yocum
7e62aac2d1 Final, minor touchups 2019-08-19 08:33:06 -07:00
Yocum
cfc75d7f3c Remove chmod of cleanup.sh 2019-08-19 08:33:06 -07:00
Yocum
fb764faf3a Make cleanup.sh executable 2019-08-19 08:33:06 -07:00
Yocum
000fc15bdf Cleanup 2019-08-19 08:33:06 -07:00
Yocum
fd9b0ca01d More testing 2019-08-19 08:33:06 -07:00
Yocum
a2a5de939b Testing 2019-08-19 08:33:06 -07:00
Yocum
5a4222c4b0 Fix redis cleanup
Cleanup.sh was unable to read array vars and would error out. Moved commands directly into the sigterm trap so the cleanup actually runs.
2019-08-19 08:33:06 -07:00
Yocum
18a43a173e Fix redis cleanup
Cleanup.sh was unable to read array vars and would error out. Moved commands directly into dispatcher.sh so the cleanup can be ran.
2019-08-19 08:33:06 -07:00
Yocum
a384e121cd Testing fix for redis cleanup script errors 2019-08-19 08:33:06 -07:00
Chris Yocum
0683d52771 Testing fix for cleanup not reading vars 2019-08-19 08:33:06 -07:00
Chris Yocum
f7a2c8907d Testing array export for cleanup vars 2019-08-19 08:33:06 -07:00
Chris Yocum
ef35212ece Testing 2019-08-19 08:33:06 -07:00
Chris Yocum
81e62e53aa Testing fix for path issue 2019-08-19 08:33:06 -07:00
Chris Yocum
ca1f786917
Fix for file persistence
The customtags.txt, smartsearches.txt, and extrafields.txt files were not persistent as the copies stored in the /config dir were not linked to the files the application reads in /app/diskover-web/public/. Added symbolic links to create persistence after changes are made within the application.
2019-07-17 17:17:45 -04:00
Chris Yocum
2ae2f375bc
Fix for DISKOVER_OPTS
Syntax was causing DISKOVER_ARRAY[DISKOVER_OPTS] to get overwritten by the value of DISKOVER_OPTS that the user specified rather than adding to it, IE: specifying "DISKOVER_OPTS=--autotag" resulted in JUST `--autotag -i diskover-2019-07-16` instead of `--autotag -d /data -a -i diskover-2019-07-16`.
2019-07-16 18:46:55 -04:00
Chris Yocum
4b2decff5c
Fix issue with customtags.txt
Fix issue with customtags.txt getting overwritten by sample on container creation
2019-07-16 18:07:47 -04:00
Chris Yocum
32eb6b5508
Fixes for the API not working
Modified the PHP location block to allow the API to function properly. Thanks to @halianelf for that.

Added increased fastcgi timeout to account for actions on massive directories.
2019-07-04 11:45:12 -04:00
saarg
e562b9102e
Merge pull request #23 from shirosaidev/master
Update diskover.cfg
2019-06-16 10:02:52 +00:00
Chris Park
c13773801e Update diskover.cfg 2019-06-16 18:40:06 +09:00
alex-phillips
056ed8028b bot / redis cleanup now in its own script so we can also call it when container is stopped / restarted 2019-01-05 11:15:30 -05:00
alex-phillips
d8ef2c444a dispatcher now accepts missing worker opts variable 2019-01-05 11:14:40 -05:00
Chris Park
c7dd3ca9a0 Update diskover.cfg 2019-01-05 13:28:50 +09:00
alex-phillips
cb09adc1b2 kill all redis workers in one command instead of 2 2018-11-29 08:23:30 -05:00
alex-phillips
b1f0313b37 updated default config with production release sample 2018-11-26 08:09:03 -05:00
Alex Phillips
189a997dc1
Merge pull request #14 from linuxserver/aptalca-patch-1
Update default
2018-11-09 14:06:52 -05:00
alex-phillips
9cb38822b2 no need to override base image nginx.conf 2018-11-09 13:50:23 -05:00
aptalca
b5651b55ad
Update default 2018-11-09 13:45:01 -05:00
alex-phillips
d3274ea005 diskover-web ui is now handled via nginx 2018-10-01 09:03:50 -04:00
sparklyballs
b7306ba9ae
Merge pull request #3 from linuxserver/tidying
some initial tidying up and rearranging
2018-09-25 15:09:27 +01:00
sparklyballs
83a5889687 some initial tidying up and rearranging 2018-09-11 00:17:41 +01:00
alex-phillips
776781e9da fixed but with improper variables after we converted to using an array 2018-08-24 09:40:08 -04:00
alex-phillips
ff4ba8a75e config files renamed to higher numbers to prevent race conditions, config env variables now stored in arrays 2018-08-02 14:56:50 -04:00
alex-phillips
0e20d74623 fixed issue with INDEX_NAME variable not being properly evaluated within the conditional of the DISKOVER_OPTS conditional. separated it into a separate string concat to get around this (i'm sure there's probably a better way though) 2018-07-31 12:45:52 -04:00
alex-phillips
911b4f8f37 diskover-web now uses nginx isntead of php server 2018-07-20 07:23:19 -04:00
alex-phillips
a8daae8367 this container now contains diskover-web as well as an optional service, also hardcoded v1.5.0rc10 2018-07-11 18:26:29 -04:00
alex-phillips
2c6a8154c2 lowered crond verbosity 2018-06-22 15:57:47 -04:00
aptalca
ebcd319b63
Update run 2018-06-22 15:54:14 -04:00
alex-phillips
8d308887c9 fixed shebang in cron run file 2018-06-22 15:52:29 -04:00
alex-phillips
05aaa088f0 config updates for new rc10 release, added socket server service, re-added cron 2018-06-22 15:42:23 -04:00
alex-phillips
54ee5b623b different handling of crontabs now 2018-06-14 20:01:02 -04:00
alex-phillips
ffed457a1c different handling of crontabs now 2018-06-14 19:59:54 -04:00
alex-phillips
c2d01517b3 lots of changes - primarily with the dispatcher and handling killing old bots and emptying existing redis queues 2018-06-13 08:31:33 -04:00
alex-phillips
5a44cd93e3 typo in defaults directory for copying crontab over 2018-06-07 15:03:29 -04:00
alex-phillips
1c76b77b1d dispatcher is now run in cron (optionally) but is always initiated when the container starts rather than in a s6 controlled service - more env variables to control dispatcher / worker args as well as to enable cron or not 2018-06-07 10:07:11 -04:00
alex-phillips
6ba593003d added logrotate and rq-dashboard 2018-06-07 10:06:14 -04:00
alex-phillips
ae96efdd98 Added sleep to account for elasticsearch spinning up, added support for specifying index name, but default uses a timestamped name 2018-06-06 11:39:44 -04:00
alex-phillips
c302993116 removed email notice note from readme, added cli option to not overwrite index during each run (should only update) 2018-06-06 11:24:02 -04:00