-
-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ddev does not respect connections to external networks anymore #5706
Comments
Deleted my previous reply (I thought this was caused by something else). Found the reason for this in https://github.com/ddev/ddev/pull/3620/files#r815353519
@galoppi, you seem to be the first to notice this change. The behavior for networks was changed in v1.19.0. |
Can you just...
It's unlikely that we would fiddle with DDEV's setup to solve your unusual situation, which probably has lots of other possible solutions. We can talk about other solutions if you like. Yours sounds complex. |
Thanks a lot for your help and support! I'll give it a try using the ddev_default network. Do you have an example for using the build in traefik in combination with letsencrypt? |
We haven't explored Let's Encrypt with traefik yet, see https://ddev.readthedocs.io/en/latest/users/topics/hosting/ But the docs link to Traefik's technique, https://doc.traefik.io/traefik/https/acme/ - your exploration would be welcome! My own hosting situation still uses the nginx-proxy router, which still works fine with Let's Encrypt. |
It sounds like you already must be an expert with LE and Traefik so would love to have you explore it. https://ddev.readthedocs.io/en/latest/users/extend/traefik-router/#traefik-configuration |
No response, closing, happy to help you explore traefik, and especially happy to see you explore LetEncrypt there. |
Is there an existing issue for this?
Output of
ddev debug test
Expand `ddev debug test` diagnostic information
Expected Behavior
We added an extended docker-compose network configuration in
.ddev/docker-compose.testomize-frontproxy.yaml
to add ddev container to an external traefik frontproxy which uses the docker networkfrontproxy
:After starting the ddev project all labels are added to the docker container but it is not added to the external network frontproxy as in earlier versions of ddev.
docker inspect ddev-726-feature-84358-testomize-php8-2-web
shows only the default ddev networksddev-726-feature-84358-testomize-php8-2_default
andddev_default
but NOTfrontproxy
.This results in a gateway timeout error of the external front proxy because it is not able to connect to the ddev webserver container.
I would expect that the ddev container is added to the external docker network
frontproxy
.Actual Behavior
The ddev containers are not connected to the external networks anymore (it was working in older versions).
Steps To Reproduce
Add a docker network configuration with connection to an external docker network in
.ddev/docker-compose-something.yaml
, start the setup withddev start
and inspect the ddev web container withdocker inspect CONTAINERNAME
. Watch out for the networks section and if the external network is listed there.Anything else?
No response
The text was updated successfully, but these errors were encountered: