[GH-ISSUE #99] [QUESTION] How to run whoogle with uwsgi ? #70

Closed
opened 2026-02-25 20:34:50 +03:00 by kerem · 2 comments
Owner

Originally created by @damionx7 on GitHub (Jul 7, 2020).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/99

I want to run whoogle with uwsgi. What would be the sample uwsgi file for this.

Originally created by @damionx7 on GitHub (Jul 7, 2020). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/99 I want to run whoogle with uwsgi. What would be the sample uwsgi file for this.
kerem 2026-02-25 20:34:50 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@benbusby commented on GitHub (Jul 21, 2020):

Since Whoogle is a pretty standard Flask app, most guides for uwsgi + flask will work fine. This article seems to be a good enough walk through for a similar setup -- it uses the default/standard flask setup (port 5000, app module) so you shouldn't have to modify much.

<!-- gh-comment-id:661948340 --> @benbusby commented on GitHub (Jul 21, 2020): Since Whoogle is a pretty standard Flask app, most guides for uwsgi + flask will work fine. [This article](https://hackersandslackers.com/deploy-flask-uwsgi-nginx/) seems to be a good enough walk through for a similar setup -- it uses the default/standard flask setup (port 5000, `app` module) so you shouldn't have to modify much.
Author
Owner

@arankaren commented on GitHub (Feb 8, 2021):

Some example?. I need help. what should I put in wsgi.py?

[uwsgi]
# require uwsgi-plugin-python
master=true
plugin=python
uid=cerebelum
gid=http
# the base directory (full path)
chdir = /srv/http/whoogle-search
# Module
module = wsgi:app
# the virtualenv (full path)
pythonpath = /srv/http/whoogle-search
virtualenv = /srv/http/whoogle-search/venv
enable-threads = true
processes = 1
threads = 1
# daemonize = /var/log/uwsgi/whoogle-search.log
pidfile = /run/uwsgi/whoogle-search.pid
socket = /run/uwsgi/whoogle-search.sock
# http = 127.0.0.1:8888
chmod-socket=664
socket-timeout = 600
vacuum = true
die-on-term = true
<!-- gh-comment-id:774828267 --> @arankaren commented on GitHub (Feb 8, 2021): Some example?. I need help. what should I put in wsgi.py? ``` [uwsgi] # require uwsgi-plugin-python master=true plugin=python uid=cerebelum gid=http # the base directory (full path) chdir = /srv/http/whoogle-search # Module module = wsgi:app # the virtualenv (full path) pythonpath = /srv/http/whoogle-search virtualenv = /srv/http/whoogle-search/venv enable-threads = true processes = 1 threads = 1 # daemonize = /var/log/uwsgi/whoogle-search.log pidfile = /run/uwsgi/whoogle-search.pid socket = /run/uwsgi/whoogle-search.sock # http = 127.0.0.1:8888 chmod-socket=664 socket-timeout = 600 vacuum = true die-on-term = true ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#70
No description provided.