diff --git a/app.db b/app.db deleted file mode 100644 index d411f46..0000000 Binary files a/app.db and /dev/null differ diff --git a/docker/calendarwatch/docker-entrypoint.sh b/docker/calendarwatch/docker-entrypoint.sh index 5a544db..5bb2faa 100755 --- a/docker/calendarwatch/docker-entrypoint.sh +++ b/docker/calendarwatch/docker-entrypoint.sh @@ -1,7 +1,5 @@ #!/bin/sh cd /home/calendarwatch -# uwsgi --http-socket 0.0.0.0:8084 -w wsgi --protocol=https -export FLASK_APP=/home/calendarwatch/server.py -python3 server.py +uwsgi --ini wsgi.ini echo "server has been started" diff --git a/wsgi.ini b/wsgi.ini new file mode 100644 index 0000000..543d7d2 --- /dev/null +++ b/wsgi.ini @@ -0,0 +1,13 @@ +# uwsgi --socket 0.0.0.0:8084 -w wsgi:application --protocol=http + +[uwsgi] +module = wsgi:application +protocol = http +master = true +processes = 5 + +socket = 0.0.0.0:8084 + +die-on-term = true + +