-
Is it possible to configure ddev so any outgoing MySQL connections are made over my customers vpn so i don't have to configure the vpn on every host machine to access external database? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Here's how I responded in Discord:
Please don't ask a bunch of places; but when you sort this out you can put the solution here. |
Beta Was this translation helpful? Give feedback.
-
I can see many use-cases for a vpn client inside the ddev network. Yes, it would be normal to have a copy of the drupal database locally but there may be other services that the site needs to talk to (Drupal being so annoyingly connectable). I’m specifically thinking our environment might want to talk to an external mongoldb and solr service, both of which contain information that drupal must consult, even if it doesn’t update it. So, I’m going to spend some time on this. A report on any investigations done so far, @divdax , would be appreciated! |
Beta Was this translation helpful? Give feedback.
In most cases, VPNs will work fine from the docker network to the outside world. This doesn't really have anything to do with DDEV.
There are a couple of exceptions: