From 70026cebc0fd20b660cafe0bf95d0eea73459de2 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Tue, 27 Oct 2020 20:30:09 +0100 Subject: Propagate user-specified API url to React build This change fixes an issue where we did not forward the environmental variable for controlling the API url to the React build. --- docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml index c3e62317..25e7ee8f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,8 @@ services: build: context: ./frontend args: - - REACT_APP_OAUTH_CLIENT_ID=${OPENDC_OAUTH_CLIENT_ID} + - OPENDC_OAUTH_CLIENT_ID=${OPENDC_OAUTH_CLIENT_ID} + - OPENDC_API_BASE_URL=${OPENDC_SERVER_BASE_URL} image: frontend restart: on-failure networks: -- cgit v1.2.3