Skip to content
This repository has been archived by the owner on Feb 28, 2020. It is now read-only.

Commit

Permalink
Add mandatory config vars to app.json. #1
Browse files Browse the repository at this point in the history
  • Loading branch information
thebearingedge committed Mar 17, 2019
1 parent 06cf33d commit c2c5212
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -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++
Expand Down
9 changes: 9 additions & 0 deletions app.json
Expand Up @@ -11,6 +11,15 @@
},
"REDIS_URL": {
"required": true
},
"JWT_SECRET": {
"generator": "secret"
},
"SESSION_SECRET": {
"generator": "secret"
},
"SESSION_EXPIRY": {
"value": 28800000
}
},
"formation": {
Expand Down

0 comments on commit c2c5212

Please sign in to comment.