소스 검색

[fifteen5] Use gunicorn not uvicorn

Colin Powell 3 년 전
부모
커밋
939e0f56cc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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