-
Notifications
You must be signed in to change notification settings - Fork 537
Description
OS type
Linux/Windows/macOS
Drupal version
10 / 11 (all)
Codebase
Built-in vanilla Drupal
Describe the bug
Is there any real reason for the inclusion of Traefik? It doesn't seem to bring any real benefit and it blocks some use cases. I try to reach the dockered Drupal from an Android app I develop and debug in Android Studio and, after a day of debugging, it turned out to be blocked by Traefik. I removed it from the compose file and everything immediately returned to normal.
Just to describe (and to leave a trail for other people struggling with the same issue in the future), the emulator runs in a virtual network that maps 10.0.2.2 to the localhost of the host machine. As I set up my .env to run Docker4Drupal on 0.0.0.0:80, it should be available as localhost. It is available as such from the browser of the host machine all right but not via 10.0.2.2 from the emulator, apparently because of name resolution problems. Without Traefik, it is available, everything works perfectly.
So, while it's not directly a bug per se in other use cases, it looks like unnecessary burden to me without any real benefit.