Olog / phoebus-olog

Online logbook for experimental and industrial logging
https://olog.readthedocs.io/en/latest/
Eclipse Public License 1.0
6 stars 13 forks source link

fix: set host vars in docker compose #194

Closed cjenkscybercom closed 7 months ago

cjenkscybercom commented 7 months ago

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.