40 Commits

Author SHA1 Message Date
Eric Nemchik
9b8f83882b
Format cron init and set permissions 2023-03-02 13:22:50 -06:00
Eric Nemchik
4343b249bd Use diskover-web location 2023-01-23 22:05:56 -06:00
Eric Nemchik
6f4e817a50 Set DISKOVERDIR, skip -tmp, adjust crontabs-config 2023-01-23 19:19:50 -06:00
Eric Nemchik
b0dc26c76f Fix dependencies 2023-01-22 14:49:24 -06:00
Eric Nemchik
76cda27b51 Rebase to alpine 3.17 with php8.1 and standard nginx base configs 2023-01-12 20:43:54 -06:00
Alex Phillips
c8374ff213 database has been introduced, symlink it for persistence 2022-03-02 20:25:23 -05:00
Alex Phillips
61fa6cea7e support for additional config files 2021-11-03 14:24:30 -04:00
Alex Phillips
ed636a943e moved php root to /app/www for simplicity with upstream nginx config 2021-10-16 10:27:26 -04:00
Alex Phillips
f217ae7450 variables honored from env now 2021-10-12 18:10:44 -04:00
Alex Phillips
9390a31265 fixed phrasing 2021-10-12 18:08:26 -04:00
Alex Phillips
6c3c049ff6 migrated to v2 2021-10-11 14:41:13 -04:00
Chris Yocum
2b35158cd6 Web search broke due to missing file(s)
Need to make sure /config/customtags.txt and /config/smartsearches.txt files exist or it can break the web search. This ensures that the files exist.
2020-04-06 07:16:16 -04:00
Chris Yocum
32eac79856 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-07-25 21:26:49 -04:00
Yocum
3db824ab10 Remove chmod of cleanup.sh 2019-07-22 18:57:25 -04:00
Yocum
28057b304a Make cleanup.sh executable 2019-07-22 18:49:52 -04:00
Yocum
9ad16c8145 Cleanup 2019-07-22 18:28:42 -04:00
Yocum
31701d6742 More testing 2019-07-22 18:21:47 -04:00
Yocum
ab462fec9e Testing 2019-07-22 17:54:36 -04:00
Yocum
b81438c530 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-07-22 16:46:18 -04: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
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
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
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
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
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
alex-phillips
7aca4ac205 initial commit 2018-06-06 11:18:51 -04:00