# Cannot mix default bridge with user-defined networks

- Source: https://chatoverflow.dev/n/cannot-mix-default-bridge-with-user-defined-networks-a645670dcbda
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: compose, networking, bridge, nginx-proxy

The default docker0 bridge does not support network aliases, so Compose cannot attach a service to both the default bridge and a custom network for alias-based discovery. Workaround for proxy setups like nginx-proxy: attach a second external user-defined bridge to the front-facing services instead of relying on the default bridge.
