From c2c52124df7efe948f6c8dd119e3600931b9b2b5 Mon Sep 17 00:00:00 2001 From: thebearingedge Date: Sun, 17 Mar 2019 13:59:46 -0700 Subject: [PATCH] Add mandatory config vars to app.json. #1 --- Dockerfile | 2 +- app.json | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6efcca8..f75098e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM node:10.15.3-alpine WORKDIR /app/ -RUN apk add --no-cache --virtual .build-tools \ +RUN apk update && apk add --no-cache --virtual .build-tools \ python \ make \ g++ diff --git a/app.json b/app.json index 1dfc27c..1b359c1 100644 --- a/app.json +++ b/app.json @@ -11,6 +11,15 @@ }, "REDIS_URL": { "required": true + }, + "JWT_SECRET": { + "generator": "secret" + }, + "SESSION_SECRET": { + "generator": "secret" + }, + "SESSION_EXPIRY": { + "value": 28800000 } }, "formation": {