From e31a0813fc151880bd3c67d4bd3693745f878805 Mon Sep 17 00:00:00 2001 From: Chad Carlson Date: Thu, 11 Jul 2024 14:14:31 -0400 Subject: [PATCH] Update config.yaml --- platformifier/templates/upsun/.upsun/config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platformifier/templates/upsun/.upsun/config.yaml b/platformifier/templates/upsun/.upsun/config.yaml index 025ef8e..a7d0a1c 100644 --- a/platformifier/templates/upsun/.upsun/config.yaml +++ b/platformifier/templates/upsun/.upsun/config.yaml @@ -55,6 +55,9 @@ applications: commands: # The command to launch your app. If it terminates, it’s restarted immediately. # You can use the $PORT or the $SOCKET environment variable depending on the socket family of your upstream + {{- if or ( eq .Stack "Django" ) ( eq .Stack "Flask" ) }} + # The command below assumes Gunicorn has been added as a dependency in your requirements.txt, Pipfile, or pyproject.toml file. + {{- end }} start: {{ quote .WebCommand }} {{- else }} # commands: