From a368d6b68147264c58842f4da2a58158e18a8c44 Mon Sep 17 00:00:00 2001 From: Leo Correa Date: Thu, 24 Aug 2023 19:28:29 -0400 Subject: [PATCH] Fixup connection refused errors When starting the development setup through docker-compose, the logs would display an ERRCONNREFUSED but this doesn't seem to have any effect on development. However changing the proxy to point to the internal backend service name from the docker network seems to fix these and continues to let things work as expected --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index aa9f722a..9430e14a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -48,7 +48,7 @@ services: - 4300:4300 volumes: - ./frontend:/app - command: sh -c "cd /app && rm -rfd ./dist && ./node_modules/.bin/ember serve --port 4300 --proxy http://localhost:3000" + command: sh -c "cd /app && rm -rfd ./dist && ./node_modules/.bin/ember serve --port 4300 --proxy http://backend:3000" profiles: - dev app-setup: