devops changes
rodzic
433fce315e
commit
67a98df3e5
|
@ -4,6 +4,7 @@ services:
|
|||
build:
|
||||
dockerfile: Dockerfile
|
||||
context: ./
|
||||
restart: always
|
||||
ports:
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
[uwsgi]
|
||||
project = artel
|
||||
base = artel/
|
||||
socket_dir = %(base)
|
||||
|
||||
chdir = %(base)
|
||||
module = %(project).wsgi:application
|
||||
|
||||
master = true
|
||||
processes = 5
|
||||
|
||||
socket = %(socket_dir)/%(project).sock
|
||||
vacuum = true
|
||||
daemonize = /var/log/uwsgi/project.log
|
Ładowanie…
Reference in New Issue