Passing db environment variable to docker container (mariadb

Alles, was MariaDB und MySQL betrifft, kann hier besprochen werden.

Passing db environment variable to docker container (mariadb

Postby Keepshango » 27. January 2023 02:28

HOSTING SERVER DETAIL
Machine : remote host (VPS)
Server : Apache2.4
OS distro : Ubuntu 22.04 LTS
DB server : MariaDB

Hello,

I created a database from ISPConfig panel, and need now to set a “.env“ file, so to securely pass the database environment variable to tracim app docker container.

/// MY QUESTIONS ///
May someone tell me if below key-value pairs to be pasted in the “.env“ file, are matching the syntax that MariaDB requires ?
Should I replace MYSQL with MARIADB ?

MYSQL_ROOT_HOST=<IPV4 ADDRESS>
MYSQL_PORT=3306
MYSQL_USER=<username>
MYSQL_PASSWORD=<password>
MYSQL_DATABASE=<tracimdb>

Regards
Keepshango
 
Posts: 1
Joined: 27. January 2023 01:31
XAMPP version: *
Operating System: Ubuntu 22.04 LTS

Return to MariaDB - MySQL

Who is online

Users browsing this forum: No registered users and 14 guests