From d6cf16651af40077caaf010e7fe4b6bf5f49f978 Mon Sep 17 00:00:00 2001 From: Richard Gee Date: Mon, 9 Sep 2019 21:16:43 +0100 Subject: [PATCH] Add auth proxy env-vars to gateway for ARM The two docker compose files for ARM based systems were not configured to pass the auth_proxy variables through to the gateway at deploy time. This was causing an error in the gateway which would manifest in the CLI and UI as: `ExternalAuthHandler: Get : unsupported protocol scheme ""`. This change adds `auth_proxy_url` & `auth_proxy_pass_body` to the two ARM compose files so as to mirror the config of the x86_64 compose file. Signed-off-by: Richard Gee --- docker-compose.arm64.yml | 2 ++ docker-compose.armhf.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docker-compose.arm64.yml b/docker-compose.arm64.yml index 51a950be..db634bc9 100644 --- a/docker-compose.arm64.yml +++ b/docker-compose.arm64.yml @@ -21,6 +21,8 @@ services: scale_from_zero: "true" # Enable if you want functions to scale from 0/0 to min replica count upon invoke max_idle_conns: 1024 max_idle_conns_per_host: 1024 + auth_proxy_url: "${AUTH_URL:-}" + auth_proxy_pass_body: "false" deploy: resources: # limits: # Enable if you want to limit memory usage diff --git a/docker-compose.armhf.yml b/docker-compose.armhf.yml index a432463c..210f01c8 100644 --- a/docker-compose.armhf.yml +++ b/docker-compose.armhf.yml @@ -21,6 +21,8 @@ services: scale_from_zero: "true" # Enable if you want functions to scale from 0/0 to min replica count upon invoke max_idle_conns: 1024 max_idle_conns_per_host: 1024 + auth_proxy_url: "${AUTH_URL:-}" + auth_proxy_pass_body: "false" deploy: resources: # limits: # Enable if you want to limit memory usage