skip to Main Content

Log files isn't writable – Docker

I'm creating a website based on Django with Docker. I've a problem whit the management of log files of Gunicorn. With the script below the site runs without problems: #!/usr/bin/env bash cd personal_website exec gunicorn personal_website.wsgi:application --name personal_website --bind 0.0.0.0:"${PROJECT_PORT}"…

VIEW QUESTION

Django Virtual Environment – No module named 'gunicorn' – Nginx

I've followed this guide (https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04), but I'm presently seeing the following when trying to run gunicorn via the gunicorn service file (/etc/systemd/system/gunicorn.service): Oct 04 11:30:22 ukgcdeploy01 gunicorn[8095]: File "/opt/envs/automation-console-env/bin/gunicorn", line 5, in <module> Oct 04 11:30:22 ukgcdeploy01 gunicorn[8095]: from gunicorn.app.wsgiapp…

VIEW QUESTION

Static files are not found (gunicorn) – Nginx

I know this question was already asked frequently. But the supposed solutions seem not to help me. Here is my Nginx definition for the static files location /static/ { alias /data/atsi_webapp/ATSi_WebApp/static; } Here my Django settings BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) STATIC_ROOT…

VIEW QUESTION
Back To Top
Search