MariaDB

Template mariaDB and Adminer

Deploy MariaDB

mariadb

Aissaoui-Ahmed/mariadb

Just deployed

/var/lib/mysql

Adminer

Aissaoui-Ahmed/mariadb

Just deployed

Steps to Install the Template

  1. Sign in to Railway

    • Go to Railway and log in to your account.
  2. Create a New Project

    • Click on "New Project" and select "Start From Template".
  3. 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.
  4. Configure Environment Variables

    • Once the project is set up, navigate to the "Environment Variables" section.

    • Add the following variables to configure MariaDB:

      Variable NameDescription
      MYSQL_ROOT_PASSWORDThe root password for MariaDB.
      MYSQL_DATABASEThe default database name.
      MYSQL_USERThe database user.
      MYSQL_PASSWORDThe password for the database user.
    • Replace the placeholders with your desired values:

      MYSQL_ROOT_PASSWORD=
      MYSQL_DATABASE=
      MYSQL_USER=
      MYSQL_PASSWORD=
      
  5. 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.
  6. 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 and MYSQL_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

More templates in this category

View Template

Foundry Virtual Tabletop

A Self-Hosted & Modern Roleplaying Platform


View Template

(v1) Simple Medusa Backend

Deploy an ecommerce backend and admin using Medusa


View Template

peppermint

Docker-compose port for peppermint.sh