initial docker deployment implementation

This commit is contained in:
Munaawa Philip
2021-01-12 18:21:53 +00:00
committed by Swift Ugandan
parent 087206346a
commit a15ed70d44
41 changed files with 832 additions and 38 deletions

24
deploy/docker/uwsgi.ini Normal file
View File

@@ -0,0 +1,24 @@
[uwsgi]
chdir = /home/mediacms.io/mediacms/
virtualenv = /home/mediacms.io
module = cms.wsgi
uid=www-data
gid=www-data
processes = 2
threads = 2
master = true
socket = 127.0.0.1:9000
workers = 2
vacuum = true
hook-master-start = unix_signal:15 gracefully_kill_them_all
need-app = true
die-on-term = true