Browse Source

[fifteen5] Use gunicorn not uvicorn

Colin Powell 3 năm trước cách đây
mục cha
commit
939e0f56cc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      ansible/roles/fifteen5/templates/uvicorn-immortal.yml.j2

+ 1 - 1
ansible/roles/fifteen5/templates/uvicorn-immortal.yml.j2

@@ -1,4 +1,4 @@
-cmd: uvicorn --host 0.0.0.0 --port 8088 --debug ff.asgi:application --reload
+cmd: gunicorn -b 0.0.0.0:8087 --reload --preload ff.wsgi:application
 cwd: /usr/local/src/fifteen5
 env:
     DJANGO_SETTINGS_MODULE: ff.settings.dev.colin