From ca808e8baedf29d8752be83226a87cd415c66404 Mon Sep 17 00:00:00 2001 From: Vlad Date: Fri, 2 Apr 2021 07:17:41 +0200 Subject: [PATCH] added configuration for DigitalOcean as comments --- 99_final/uwsgi.ini | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/99_final/uwsgi.ini b/99_final/uwsgi.ini index e9223b9..b41da05 100644 --- a/99_final/uwsgi.ini +++ b/99_final/uwsgi.ini @@ -1,6 +1,23 @@ +; Configuration for Heroku deployment [uwsgi] http-socket = :$(PORT) master = true die-on-term = true module = app:app -memory-report = true \ No newline at end of file +memory-report = true + + +; Configuration for DigitalOcean deployment +; [uwsgi] +; base = /var/www/html/pricing-service +; app = app +; module = %(app) +; home = replace with your `pipenv --venv` path (e.g.: /home/user/.local/share/virtualenvs/pricing-service-kj423Fd) +; pythonpath = %(base) +; socket = %(base)/socket.sock +; chmode-socket = 777 +; processes = 8 +; threads = 8 +; harakiri = 15 +; callable = app +; logto = %(base)/log/%n.log