Frequently Asked Questions
How can i keep my data docker compose environment up to date?
The data-docker-compose repository uses git submodules that point to develop branches of various repositories. To keep the environment updated, you need to:
git pull
(to update the data-docker-compose repo)git submodule update --remote
(to update the submodules)
How does networking work?
Networking between applications varies depending on whether they are running inside docker or outside, and what they're calling.
- From Docker to Docker: Services running in Docker can call each other using their service names as DNS (e.g.,
http://service-name:8081
). - From Native to Docker: Native microservices running in your IDE or from your CLI can call Dockerized services using
http://localhost:<exposed-port>
. - From Docker to Native: Dockerized services can call native services running on the host using:
- Linux:
http://<host-ip>:<native-service-port>
- MacOS/Windows:
http://host.docker.internal:<native-service-port>
- Linux: