File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1- GEMEINDESCAN_WEBUI_DJANGO =0.0.3
1+ GEMEINDESCAN_WEBUI_DJANGO =0.1.0
22DOCKER_DJANGO_NAME =$(shell basename $(shell dirname `pwd`) ) _django_1
33DOCKER_EXEC =$(shell command -v docker > /dev/null && echo "docker exec -it $(DOCKER_DJANGO_NAME ) ")
44
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ graphene==2.1.8
1010graphene-django == 2.8.0
1111graphql-core == 2.2.1
1212graphql-relay == 2.0.1
13+ gunicorn == 20.0.4
1314h11 == 0.9.0
1415httptools == 0.0.13
1516isort == 4.3.21
Original file line number Diff line number Diff line change @@ -4,4 +4,9 @@ mkdir -p /var/services/run
44mkdir -p /var/services/django/log
55
66cd /opt/app
7- uvicorn main.asgi:application --port 8081 --host 0.0.0.0
7+ # uvicorn main.asgi:application --port 8081 --host 0.0.0.0
8+ gunicorn \
9+ -w 4 -b 0.0.0.0:8081 \
10+ --error-logfile /var/services/django/log/gunicorn.error.log \
11+ -k uvicorn.workers.UvicornWorker \
12+ main.asgi:application
Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ services:
1010 hostname : vue
1111
1212 django :
13- image : smartuse/gemeindescan-webui-django:0.0.3
13+ image : smartuse/gemeindescan-webui-django:0.1.0
1414 hostname : django
You can’t perform that action at this time.
0 commit comments