Is it possible to enable networking between coder docker containers?
I am working on a mongod image. My ideal use case would be to have a coder template that creates and manages multiple mongodb databases that I can use in my other workspaces. I started creating a template with docker:
https://github.com/T0mThomson/coder-templates/tree/main/mongodb
It succesfully runs mongodb and a web ui to manage the databses (mongo-express).
However withouth manualy messing with the docker CLI in my terminal I can't automaticly get it to enable connection between other docker containers / workspaces in coder. I would like to expose the port
https://github.com/T0mThomson/coder-templates/tree/main/mongodb
It succesfully runs mongodb and a web ui to manage the databses (mongo-express).
However withouth manualy messing with the docker CLI in my terminal I can't automaticly get it to enable connection between other docker containers / workspaces in coder. I would like to expose the port
27017 in the default docker network OR enable networking between two coder workspaces, however I don't think that's possible yet?
GitHub
Contribute to T0mThomson/coder-templates development by creating an account on GitHub.