From 5101f07d7ab29eac758cdd8f5008b17109f68400 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Sat, 21 May 2022 11:18:20 -0400 Subject: [PATCH] fix env --- render.yaml | 60 +++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 29 deletions(-) diff --git a/render.yaml b/render.yaml index ac53a6f..8cb2890 100644 --- a/render.yaml +++ b/render.yaml @@ -6,35 +6,6 @@ databases: postgresMajorVersion: 14 services: - # Environmnet - - name: env-settings - envVars: - - key: APPLE_KEY_ID - sync: false - - key: APPLE_KEY_PATH - value: /etc/secrets/apple.p8 - - key: APPLE_TEAM_ID - sync: false - - key: BUGSNAG_API_KEY - sync: false - - key: DATABASE_CONNECTION_POOL_URL - sync: false # TODO - - key: DD_API_KEY - sync: false - - key: ENV - sync: false - - key: REDDIT_CLIENT_ID - sync: false - - key: REDIS_URL - fromService: - type: redis - name: srv.redis - property: connectionString - - key: SMTP2GO_API_KEY - sync: false - - key: STATSD_URL - sync: false - # Redis - type: redis name: srv.redis @@ -173,3 +144,34 @@ services: buildCommand: go install github.com/bugsnag/panic-monitor@latest && go build ./cmd/apollo startCommand: panic-monitor ./apollo worker --queue trending --multiplier 64 autoDeploy: false + +envVarGroups: + # Environmnet + - name: env-settings + envVars: + - key: APPLE_KEY_ID + sync: false + - key: APPLE_KEY_PATH + value: /etc/secrets/apple.p8 + - key: APPLE_TEAM_ID + sync: false + - key: BUGSNAG_API_KEY + sync: false + - key: DATABASE_CONNECTION_POOL_URL + sync: false # TODO + - key: DD_API_KEY + sync: false + - key: ENV + sync: false + - key: REDDIT_CLIENT_ID + sync: false + - key: REDIS_URL + fromService: + type: redis + name: srv.redis + property: connectionString + - key: SMTP2GO_API_KEY + sync: false + - key: STATSD_URL + sync: false +