Hostname links or alias for containers/services

We use drone to run integration and e2e tests, the test use multiple test domains like or that are answered by the same web server container

Usually with docker-compose we would use links or network aliases, to map container to hostnames, I’ve tried both options but couldn’t make it work

As we need the same container to resolve different domain hostnames we cannot fix the container name, we’ve temporarily hacked a solution but I really want to make sure we’re not doing something wrong and have missed some doc for this feature

I couldn’t find any doc, faq or topic that could give us insight on this, so any help would be appreciate it! Thanks

1 Like

Hi! Would you mind sharing how you solved this? I have just started using Drone and I have exactly this issue. Thanks!