Automagically configuring traefik from apache

If I run apache in one or more containers, is there a way for traefik to get the ServerName/ServerAlias from the sites in the files in /etc/apache2/sites-available, so I don't have to add a couple of labels for each ServerName/Alias manually and probably screw up some times?

Perhaps a script parsing the output from apache2ctl -t -D DUMP_VHOSTS to a configfile?