Skip to content

Commit d67f85b

Browse files
authored
Fixup connection refused errors (#656)
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
1 parent 1eed7aa commit d67f85b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ services:
4949
- 4300:4300
5050
volumes:
5151
- ./frontend:/app
52-
command: sh -c "cd /app && rm -rfd ./dist && ./node_modules/.bin/ember serve --port 4300 --proxy http://localhost:3000"
52+
command: sh -c "cd /app && rm -rfd ./dist && ./node_modules/.bin/ember serve --port 4300 --proxy http://backend:3000"
5353
profiles:
5454
- dev
5555
app-setup:

0 commit comments

Comments
 (0)