Docker Networks, Microservices, Development Workflow
I work on a microservices project, and usually put most of my infrastructure in docker-compose. I understand using a compose file in Intellij and that works, but the workflow of working on one service does not exactly seem to work.
The problem seems to be that if I launch an individual container from a dockerfile, it can never join the same network as the services launched via compose. I am hoping to link to each container, instead of communicating via host ports.
I found this but adding in "--net" to the command field doesn't actually do anything. That same post has screenshots of "Edit Docker Container Settings" that seems to have "network mode" but I can't find it anywhere in Ultimate 2017.1.
What's the best workflow for working on multiple services, assuming each service may have dependencies on other services and may be edited and restarted? I can't find an easy way to make Intellij work with this workflow.
Please sign in to leave a comment.
So right after I wrote this, I went back and messed with the JSON file setting, and that worked!