MariaDB Server
This free NautilusControl template sets up a MariaDB server on port 3306 with 1 GB of RAM recommended. This page covers the ports to open, hardware requirements, the Docker image, every setting you can change and step-by-step setup.
MariaDB at a glance
- Category
- Database (database)
- Docker image
- mariadb:11.2
- Default version
- 11.2
- Ports
- 3306/TCP
- RAM
- 1 GB
- CPU
- 1 core
- Disk
- 20 GB
- Console
- Interactive console (stdin)
- Template version
- v1.0.0
MariaDB server ports
A MariaDB server built from this template listens on this port. Open it in your firewall so players and clients can connect.
| Port | Protocol | Used for |
|---|---|---|
| 3306 | TCP | MariaDB |
sudo ufw allow 3306/tcpMariaDB server requirements
These are the template's recommended starting values. Increase it as your data and number of connections grow.
Run MariaDB in Docker
The template uses the mariadb:11.2 image, default version 11.2. NautilusControl pulls it automatically; to fetch it yourself:
docker pull mariadb:11.2docker-entrypoint.sh mariadbdMariaDB settings (environment variables)
You can change these when you create the server or later in its settings.
| Variable | Default | What it does |
|---|---|---|
| MARIADB_ROOT_PASSWORDrequired | empty | Root password — required |
| MARIADB_DATABASE | mydb | Database to create on startup |
| MARIADB_USER | empty | Additional user to create |
| MARIADB_PASSWORD | empty | Password for additional user |
Files and folders
/var/lib/mysql— Data/etc/mysql/conf.d— Config
How to set up a MariaDB server with NautilusControl
Install NautilusControl
Install the NautilusControl panel and agent on the machine that will run the server. The installation guide covers it, and the 14-day free trial includes 1 node and 5 servers.
Import the MariaDB template
Download this template (a single JSON file) with the button above, then open Templates in NautilusControl and choose Import JSON.
Create the server
Create a new container and pick MariaDB. NautilusControl pulls
mariadb:11.2, fills in the environment variables listed below, and creates the folders for you.Open the ports
Allow port 3306 through your firewall, and forward it on your router if people connect from outside your network.
Start it
Press Start and follow the startup log in the panel, then use the interactive console (stdin) for commands.
Server files come from mariadb.org.
Notes
MySQL-compatible open-source database. Drop-in replacement for MySQL. Fully compatible with WordPress, Nextcloud, etc.
MariaDB FAQ
What ports does a MariaDB server use?
This template uses port 3306 (MariaDB). Open it in your firewall and forward it on your router if players connect from outside your network.
How much RAM does a MariaDB server need?
The template recommends 1 GB of RAM, 1 core, 20 GB of disk space. Increase it as your data and number of connections grow.
Can I run MariaDB in Docker?
Yes. The template uses the Docker image mariadb:11.2 (default version 11.2). NautilusControl pulls it and creates the container for you.
Is the MariaDB template free?
Yes. Every template in the Corallium Studios library is free to download. You need NautilusControl to deploy it; there is a 14-day free trial.