MariaDB
Template mariaDB and Adminer
mariadb
Aissaoui-Ahmed/mariadb
Just deployed
/var/lib/mysql
Adminer
Aissaoui-Ahmed/mariadb
Just deployed
Steps to Install the Template
-
Sign in to Railway
- Go to Railway and log in to your account.
-
Create a New Project
- Click on "New Project" and select "Start From Template".
-
Search for the Template
- Find the template for MariaDB and Adminer. If you don't see it, you can create a custom setup with the necessary services.
-
Configure Environment Variables
-
Once the project is set up, navigate to the "Environment Variables" section.
-
Add the following variables to configure MariaDB:
Variable Name Description MYSQL_ROOT_PASSWORD
The root password for MariaDB. MYSQL_DATABASE
The default database name. MYSQL_USER
The database user. MYSQL_PASSWORD
The password for the database user. -
Replace the placeholders with your desired values:
MYSQL_ROOT_PASSWORD= MYSQL_DATABASE= MYSQL_USER= MYSQL_PASSWORD=
-
-
Deploy the Template
- After setting up the environment variables, click "Deploy" to start the project.
- Railway will provision MariaDB and Adminer as part of your project.
-
Access Adminer
- Once the deployment is complete, locate the Adminer service URL from your Railway dashboard.
- Open the Adminer URL in your browser and use the credentials you set up in the environment variables to log in.
Tips
- Use a strong password for
MYSQL_ROOT_PASSWORD
andMYSQL_PASSWORD
to enhance security. - Regularly back up your MariaDB database to prevent data loss.
- Customize additional Railway configurations if needed (e.g., project domains or resources).
Template Content
mariadb
Aissaoui-Ahmed/mariadbAdminer
Aissaoui-Ahmed/mariadb