Coder.comC
Coder.com2y ago
3 replies
TomTom

Forward (publish) local ports (host) into Workspace (Docker-Container)

Hi everybody,
I have a gitea instance running next to coder and would like to access the repositories within the workspace (Docker-Container).
I assume I have to configure the terraform configuration. Any hints, please?
The port to access would be tcp/3000.
Best regards, Thomas
Solution
I got it 👍 . Sorry for the amount of help tickets today.
For others:
- One easy solution is not use the default network bridge.
- I created a custom network which every container joins, so hostname resolving is not a problem.
Sorry again, first time working with coder and terraform. Have a nice day! Thomas
Was this page helpful?