From 35ab85b2a2fddb39daee52b14911067e21abe4eb Mon Sep 17 00:00:00 2001 From: Dan Shultz Date: Thu, 28 Dec 2017 10:28:08 -0600 Subject: [PATCH] Add OS packages for Elastic Beanstalk deployments (#1277) Fixes #1270 --- {{cookiecutter.project_slug}}/.ebextensions/10_packages.config | 2 ++ {{cookiecutter.project_slug}}/.ebextensions/40_python.config | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/{{cookiecutter.project_slug}}/.ebextensions/10_packages.config b/{{cookiecutter.project_slug}}/.ebextensions/10_packages.config index c0774efa..136be533 100644 --- a/{{cookiecutter.project_slug}}/.ebextensions/10_packages.config +++ b/{{cookiecutter.project_slug}}/.ebextensions/10_packages.config @@ -3,3 +3,5 @@ packages: git: [] postgresql94-devel: [] libjpeg-turbo-devel: [] + libffi: [] + libffi-devel: [] diff --git a/{{cookiecutter.project_slug}}/.ebextensions/40_python.config b/{{cookiecutter.project_slug}}/.ebextensions/40_python.config index 111bf1ca..03b91eb4 100644 --- a/{{cookiecutter.project_slug}}/.ebextensions/40_python.config +++ b/{{cookiecutter.project_slug}}/.ebextensions/40_python.config @@ -10,7 +10,7 @@ option_settings: REDIS_ENDPOINT_ADDRESS: '`{ "Fn::GetAtt" : [ "MyElastiCache", "RedisEndpoint.Address"]}`' REDIS_PORT: '`{ "Fn::GetAtt" : [ "MyElastiCache", "RedisEndpoint.Port"]}`' "aws:elasticbeanstalk:container:python": - WSGIPath: "config/wsgi.py" + WSGIPath: config/wsgi.py NumProcesses: 3 NumThreads: 20 "aws:elasticbeanstalk:container:python:staticfiles":