• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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