-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated dependencies: django, django-mysql, thehive4py, dnstwist, django-import-export, dnspython...
- Loading branch information
1 parent
83f7fc1
commit e42edae
Showing
8 changed files
with
841 additions
and
405 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[uwsgi] | ||
# Who will run the code | ||
uid = searx | ||
gid = searx | ||
|
||
# Number of workers (usually CPU count) | ||
workers = 4 | ||
|
||
# The right granted on the created socket | ||
chmod-socket = 666 | ||
|
||
# Plugin to use and interpretor config | ||
single-interpreter = true | ||
master = true | ||
plugin = python3 | ||
lazy-apps = true | ||
enable-threads = true | ||
|
||
# Module to import | ||
module = searx.webapp | ||
|
||
# Virtualenv and python path | ||
pythonpath = /usr/local/searx/ | ||
chdir = /usr/local/searx/searx/ | ||
|
||
# Disable logging for privacy | ||
disable-logging=True | ||
|
||
# But keep errors for 2 days | ||
touch-logrotate = /run/uwsgi-logrotate | ||
unique-cron = 15 0 -1 -1 -1 { touch /run/uwsgi-logrotate } | ||
log-backupname = /var/log/uwsgi/uwsgi.log.1 | ||
logto = /var/log/uwsgi/uwsgi.log | ||
|
||
# No keep alive | ||
# See https://github.com/searx/searx-docker/issues/24 | ||
add-header = Connection: close |
23 changes: 23 additions & 0 deletions
23
Watcher/Watcher/threats_watcher/migrations/0012_auto_20210201_1654.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Generated by Django 3.1.4 on 2021-02-01 16:54 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('threats_watcher', '0011_auto_20201123_1812'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='posturl', | ||
name='url', | ||
field=models.URLField(default='', max_length=1000), | ||
), | ||
migrations.AlterField( | ||
model_name='source', | ||
name='url', | ||
field=models.URLField(max_length=350), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.