From 0e83a7934461571ee34683befb1274f9409be575 Mon Sep 17 00:00:00 2001 From: Bastien Abadie Date: Wed, 13 Jul 2022 11:17:50 +0200 Subject: [PATCH] Fix the backend configuration for frontend through docker-compose --- docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3f2fd8ffa..ab6f6e7ef 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -57,7 +57,9 @@ services: # the host copy stays in sync (for people that switch back and forth between UI-only # and full stack Treeherder development). working_dir: /app - command: sh -c "yarn && yarn start:local --host 0.0.0.0" + environment: + BACKEND: http://backend:8000 + command: sh -c "yarn && yarn start --host 0.0.0.0" volumes: - .:/app ports: