Spaces:
Sleeping
Sleeping
Download supervisord.conf from DunaevStudio/Search: direct link, hf CLI and curl.
- Browser
- Download file 880 Bytes
-
https://huggingface.co/spaces/DunaevStudio/Search/resolve/main/supervisord.conf
- Command line
-
hf download hf://spaces/DunaevStudio/Search/supervisord.conf
-
curl -L -o supervisord.conf https://huggingface.co/spaces/DunaevStudio/Search/resolve/main/supervisord.conf
880 Bytes
| [supervisord] | |
| nodaemon=true | |
| logfile=/dev/null | |
| logfile_maxbytes=0 | |
| [program:redis] | |
| command=redis-server --daemonize no --loglevel warning --maxmemory 256mb --maxmemory-policy allkeys-lru | |
| autorestart=true | |
| stdout_logfile=/dev/stdout | |
| stdout_logfile_maxbytes=0 | |
| stderr_logfile=/dev/stderr | |
| priority=1 | |
| [program:searxng] | |
| command=python -c "from searx.webapp import app; app.run(host='0.0.0.0', port=8080, debug=False)" | |
| directory=/app/searxng | |
| environment=SEARXNG_SETTINGS_PATH="/app/searxng-settings.yml",SEARXNG_SECRET="change-me-to-random-string-123" | |
| autorestart=true | |
| stdout_logfile=/dev/stdout | |
| stdout_logfile_maxbytes=0 | |
| stderr_logfile=/dev/stderr | |
| priority=2 | |
| [program:api] | |
| command=python -m uvicorn main:app --host 0.0.0.0 --port 7860 --workers 2 --log-level info | |
| directory=/app | |
| autorestart=true | |
| stdout_logfile=/dev/stdout | |
| stdout_logfile_maxbytes=0 | |
| stderr_logfile=/dev/stderr | |
| priority=3 |