I have multiple DDEV Containers, and want to change the Ports for each phpMyAdmin process for the Container to connecting to the correct Database.
How can I do this?
I know the Defaultport is 8036, but I need different Ports.
Edit
I found the position of the port, but it looks global.
In my ~/.ddev
folder inside the file router-compose.yaml
i found this
services:
ddev-router:
image: drud/ddev-router:v0.5.0
container_name: ddev-router
ports:
- "80:80"
- "8025:8025"
- "443:443"
- "8036:8036"
In the last line is the Port of phpMyAdmin. I think I can add here more Ports, but if that works, how to "bind" it to the unique Container?
Edit 2
I found this Note in the Documentation
Note: The host database port is likely to change any time a project is stopped/removed and then later started again.
Is it even possible to change the phpMyAdmin-Port to a static port?