I’m currently toying around with drone and gitea on a single node running in swarm mode. I currently use a setup similar to what is described at https://github.com/flexguse/traefik-inter-container-routing with network aliases. I’m able to connect drone to gitea and also the notifications through webhooks are working fine.
However my simple builds are failing. As from what I understand the git plugin is launched as an extra container and it fails to lookup the gitea instance running behind traefik. It is also not able to directly connect as from what I understand a random network is created and docker internal lookups are not working as gitea provides the fqdn in the webhook.
What is the best option to get drone working with a local git server on a single host without relying on public DNS lookups?