From a9d79021ca5a67bdeb235360d8597157a876a7f3 Mon Sep 17 00:00:00 2001 From: Christa Hartsock Date: Thu, 23 Jun 2022 14:17:53 -0700 Subject: [PATCH 1/2] Rename deployment env file to varsfile --- .gitignore | 1 + .env.deploy.sample => varsfile.sample | 0 2 files changed, 1 insertion(+) rename .env.deploy.sample => varsfile.sample (100%) diff --git a/.gitignore b/.gitignore index b5c8d94af..4e0d7a5da 100644 --- a/.gitignore +++ b/.gitignore @@ -71,6 +71,7 @@ environment.sh .envrc .env .env* +varsfile celerybeat-schedule diff --git a/.env.deploy.sample b/varsfile.sample similarity index 100% rename from .env.deploy.sample rename to varsfile.sample From 64cca93c1beb3f9d5de78de9825a8450f04e4f72 Mon Sep 17 00:00:00 2001 From: Christa Hartsock Date: Thu, 23 Jun 2022 15:46:19 -0700 Subject: [PATCH 2/2] Collapse worker into Procfile from wrapper --- Procfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Procfile b/Procfile index 8662d896e..4815f7e08 100644 --- a/Procfile +++ b/Procfile @@ -1 +1,2 @@ -web: ./scripts/paas_app_wrapper.sh +web: unset GUNICORN_CMD_ARGS; exec ./scripts/run_app_paas.sh gunicorn -c /home/vcap/app/gunicorn_config.py application +worker: exec ./scripts/run_app_paas.sh celery -A run_celery.notify_celery worker --loglevel=INFO --concurrency=4 2> /dev/null \ No newline at end of file