mirror of
https://github.com/searxng/searxng.git
synced 2025-07-23 13:19:17 +02:00
Merge pull request #216 from return42/fix-searx.sh
normalize environment of installation tasks (shell) with YAML settings
This commit is contained in:
commit
beff764d74
19 changed files with 703 additions and 281 deletions
|
@ -147,7 +147,7 @@ SCHEMA = {
|
|||
'formats': SettingsValue(list, OUTPUT_FORMATS),
|
||||
},
|
||||
'server': {
|
||||
'port': SettingsValue(int, 8888),
|
||||
'port': SettingsValue((int,str), 8888, 'SEARX_PORT'),
|
||||
'bind_address': SettingsValue(str, '127.0.0.1', 'SEARX_BIND_ADDRESS'),
|
||||
'secret_key': SettingsValue(str, environ_name='SEARX_SECRET'),
|
||||
'base_url': SettingsValue((False, str), False),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue