I have an instance of Gitlab running on my host, it’s composed by: a Gitlab container, a PostgreSQL container and a Redis container. Gitlab is linked to Postgresql and Redis . Also, there’s an instance of WordPress running, it’s a WordPress and a Mariadb container. WordPress is linked to Mariadb.
As both Gitlab and WordPress needs a database container to store data, basically i’d like to use just one database container. In this case, i’d like to use only the Mariadb container to store data from both Gitlab and WordPress. Is it possible? If it is, how could i do it?