When starting the ecosystem / services with docker compose, the backend fails to communicate with elastic and mongo db.
This is because in the compose networking environment the service hosts are the names of the services (elastic, mongo, etc) rather than localhost.
This fixes that configuration issue for local development, and also adds localhost:3000 as an allowed cors origin so that local frontend development can speak to the server as well.
When starting the ecosystem / services with docker compose, the backend fails to communicate with elastic and mongo db.
This is because in the compose networking environment the service hosts are the names of the services (elastic, mongo, etc) rather than localhost.
This fixes that configuration issue for local development, and also adds localhost:3000 as an allowed cors origin so that local frontend development can speak to the server as well.