diff --git a/bin/Tiltfile b/bin/Tiltfile index 28436689..6a67cf7c 100644 --- a/bin/Tiltfile +++ b/bin/Tiltfile @@ -7,7 +7,7 @@ docker_build( context='..', dockerfile='../Dockerfile', only=['./src/backend', './src/mail', './docker'], - target = 'backend-development', + target = 'backend-production', live_update=[ sync('../src/backend', '/app'), run( diff --git a/src/helm/env.d/dev/values.impress.yaml.gotmpl b/src/helm/env.d/dev/values.impress.yaml.gotmpl index 81f5b6b6..4361ae0f 100644 --- a/src/helm/env.d/dev/values.impress.yaml.gotmpl +++ b/src/helm/env.d/dev/values.impress.yaml.gotmpl @@ -47,6 +47,13 @@ backend: python manage.py create_demo --force restartPolicy: Never + command: + - "gunicorn" + - "-c" + - "/usr/local/etc/gunicorn/impress.py" + - "impress.wsgi:application" + - "--reload" + createsuperuser: command: - "/bin/sh"