From 321763710d429fdaa5d6bf56e88b9c226e101bc1 Mon Sep 17 00:00:00 2001 From: pictuga Date: Wed, 24 Nov 2021 21:40:34 +0100 Subject: [PATCH] heroku: make env var customizable --- app.json | 18 +++++++++++++++++- heroku.yml | 6 ------ 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/app.json b/app.json index 7d2d73b..76899c2 100644 --- a/app.json +++ b/app.json @@ -1 +1,17 @@ -{"stack": "container"} +{ + "stack": "container", + "env": { + "DEBUG": { + "value": 1, + "required": false + }, + "CACHE": { + "value": "diskcache", + "required": false + }, + "CACHE_SIZE": { + "value": 1073741824, + "required": false + } + } +} diff --git a/heroku.yml b/heroku.yml index b3bff17..68bb1b4 100644 --- a/heroku.yml +++ b/heroku.yml @@ -1,9 +1,3 @@ -setup: - config: - DEBUG: 1 - CACHE: diskcache - CACHE_SIZE: 1073741824 - build: docker: web: Dockerfile