• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Question connect docker container

Jmz

New Pleskian
Hallo,

Wie kann ich einen Container, der eine MySQL-Datenbank benötigt, mit einem MySQL-Container verbinden? Es geht um SOGO-Groupware, die eine mysql-Datenbank benötigt, aber ich weiß nicht, was ich in den Umgebungsvariablen angeben soll.

Vielen Dank
 
Please note, that official forum language is English.
Please, be so kind to rewrite your message in English.
Thanks.
 
Moin,

oh sry, yes i can... ;)

How do I connect a container that needs a MySQL database to a MySQL container? It's about SOGO groupware that needs a mysql database, but I do not know what to specify in the environment variables.

Many Thanks
 
The main idea here to map MySQL port from docker container to your SOGO environment. For example

docker08.png

More detail in Plesk documentation here Using Docker
 
the question is how do I leave the port of the mysql containter in the environment variable, so that SOGO container can access it? or is there an alternavive that the so-called container can access the mysql database of plesk? In the documentation, I found nothing that could describe this
 
Back
Top