Updating existing projects does not change labels in docker-compose.yml for the new version of traefik
Updating existing projects with ahoy d4d update
ahoy d4d up
as described in this comment did not fully work because the labels
section for traefik were not updated. Instead of (what I adjusted to match a freshly created project's entries):
labels:
traefik.enable: true
traefik.network: hnzb-drupal
traefik.http.routers.trtest_apache.rule: Host(`Host:hnzb-drupal.docker.localhost`)
there were still the old labels present in docker-compose.yml
:
labels:
traefik.backend: 'hnzb-drupal_apache_1'
traefik.port: '80'
traefik.frontend.rule: 'Host:hnzb-drupal.docker.localhost'
While it is not a problem to do this manually once, it should be documented somewhere to do so.