Replies: 3 comments
-
|
I have a similar situation, git is hosted on a tailscale tailnet and the requires the proper network figuration for access. Need to be able to specify the network configuration for compose-unpacker or I won't be able to checkout. |
Beta Was this translation helpful? Give feedback.
-
|
+1, I spent a whole day figuring this out. I have an Gitea IP: 10.168.10.3, so I used This is unfortunate because AFAIK you cannot make a container created via docker compose stack automatically join the default bridge network and a user network. See for example the following issues in compose:
This means that I have to remember to manually make the Gitea container join the default bridge network or it won't work. Having the option to let the unpacker join the Maybe I will raise this as an issue as well. Some error messages that may people help find this: In the UI when under the repo URL input field: Also, keep in mind that the local filesystem path needs to be bind mounted in the agent container compose like It has to be the exact same as given in the UI. |
Beta Was this translation helpful? Give feedback.
-
|
Features can only be requested via discussion so I created a new one here https://github.com/orgs/portainer/discussions/13028 as this one is a question. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Ask a Question!
Hi, I was wondering if there was an option to set the network that portainer/compose-unpacker runs under.
For context I am trying to add a stack from a git repository that exists in a docker network.
Portainer can see the repository as I can add Portainer to that network. The Docker host also can see that repository via a reverse proxy or port mapping and hosts. In this scenario it all works as expected using the hostname of the container.
However when I
Enable relative path volumesPortainer spawnscompose-unpackerto clone the repo and it exists (I assume) in the defaultdocker0network. Because of this it cannot access my git repository.Beta Was this translation helpful? Give feedback.
All reactions