Setting Custom Host Names

Is it possible to use something like the docker-compose extra_hosts property or even the travis’ ‘addons -> hosts’ setup ( which updates the /etc/resolv to set custom host names?

It would be nice be able to use something like ‘redis’ rather than always having to use to simplify our existing configuration.

There is nothing in the YAML but you should be able to script updating that file as all jobs run with passwordless sudo.

Thank you! That seems quite obvious now after your response. :wink: