From 44f94a98ce106ae6534d2b7b9345bc2e92cfc2f3 Mon Sep 17 00:00:00 2001 From: bwieckow Date: Tue, 1 Dec 2020 16:37:42 +0100 Subject: [PATCH] POPS-68 - Provide all env vars --- auth_task_definition.json | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/auth_task_definition.json b/auth_task_definition.json index 7d84f22..905ffd1 100644 --- a/auth_task_definition.json +++ b/auth_task_definition.json @@ -14,11 +14,29 @@ "protocol": "tcp" } ], + "environment": [ + { + "name": "NODE_ENV", + "value": "development" + }, + { + "name": "API_PORT", + "value": "3001" + }, + { + "name": "TEST_ENV", + "value": "false" + } + ], "secrets": [ { - "name": "MONGOURL", + "name": "MONGODBURL", "valueFrom": "/programmersonly/mongodb/MONGO_URL" }, + { + "name": "APP_API_URL", + "valueFrom": "/programmersonly/auth/APP_API_URL" + }, { "name": "GOOGLE_CALLBACKURL", "valueFrom": "/programmersonly/auth/GOOGLE_CALLBACKURL" @@ -30,6 +48,18 @@ { "name": "GOOGLE_CLIENT_SECRET", "valueFrom": "/programmersonly/auth/GOOGLE_CLIENT_SECRET" + }, + { + "name": "GITHUB_CLIENT_ID", + "valueFrom": "/programmersonly/auth/GITHUB_CLIENT_ID" + }, + { + "name": "GITHUB_CLIENT_SECRET", + "valueFrom": "/programmersonly/auth/GITHUB_CLIENT_SECRET" + }, + { + "name": "GITHUB_CALLBACKURL", + "valueFrom": "/programmersonly/auth/GITHUB_CALLBACKURL" } ] }