{"meta":{"slug":"maria-d-b114","name":"Maria D B114","category":"sql","source":"pelican","owner":"pelican-eggs","repo":"database","branch":"main","path":"sql/mariadb/egg-maria-d-b114.json","rawUrl":"https://raw.githubusercontent.com/pelican-eggs/database/main/sql/mariadb/egg-maria-d-b114.json","indexedAt":1792246788483},"egg":{"_comment":"DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL","meta":{"version":"PLCN_v1","update_url":null},"exported_at":"2025-02-25T20:28:38+00:00","name":"MariaDB 11.4","author":"parker@parkervcp.com","uuid":"efad9890-b46d-43e2-8719-6a6cc3469b0d","description":"One of the most popular database servers. Made by the original developers of MySQL. Guaranteed to stay open source.","features":[],"docker_images":{"MariaDB 11.4":"ghcr.io/parkervcp/yolks:mariadb_11.4"},"file_denylist":[],"startup":"{ /usr/sbin/mariadbd --defaults-file=/home/container/.my.cnf & } && sleep 5 && mariadb -u container","config":{"files":"{\n    \".my.cnf\": {\n        \"parser\": \"file\",\n        \"find\": {\n            \"port\": \"port = {{server.allocations.default.port}}\",\n            \"bind-address\": \"bind-address=::0\"\n        }\n    }\n}","startup":"{\n    \"done\": \"ready for connections\"\n}","logs":"{}","stop":"shutdown; exit;"},"scripts":{"installation":{"script":"#!/bin/bash\n# MariaDB Installation Script\n#\n# Server Files: /mnt/server\nset -x\n\necho -e \"installing dependencies\"\napt-get -y update\napt-get -y install curl\n\n## add user\necho -e \"adding container user\"\nuseradd -d /home/container -m container -s /bin/bash\n\n## own server to container user\nchown container: /mnt/server/\n\n## mkdir and install db\necho -e \"installing mariadb database\"\nrunuser -l container -c 'mkdir -p /mnt/server/run/mariadbd'\nrunuser -l container -c 'mkdir -p /mnt/server/log/mariadb'\nrunuser -l container -c 'mkdir /mnt/server/mariadb'\n\n## get install config\nrunuser -l container -c 'curl https://raw.githubusercontent.com/pelican-eggs/database/refs/heads/main/sql/mariadb/install.maria.cnf > /mnt/server/install.maria.cnf'\n\n# install with install config\nrunuser -l container -c 'mariadb-install-db --defaults-file=/mnt/server/install.maria.cnf'\n\n## remove install config\nrm /mnt/server/install.maria.cnf\n\nif [ ! -f /mnt/server/.my.cnf ]; then\n    curl https://raw.githubusercontent.com/pelican-eggs/database/refs/heads/main/sql/mariadb/.maria.cnf > /mnt/server/.my.cnf\nfi\n\necho -e \"install complete\"\n\nexit","container":"mariadb:11.4","entrypoint":"bash"}},"variables":[]},"readme":"# MariaDB\n\n## From their [Website](https://mariadb.org/)\n\nOne of the most popular database servers. Made by the original developers of MySQL.\nGuaranteed to stay open source.\n\n## Minimum RAM warning\n\nThere is no actual minimum suggested for MariaDB.\n\nSee here <https://mariadb.com/kb/en/library/mariadb-hardware-requirements/>\n\n## Server Ports\n\nPorts required to run the server in a table format.\n\n| Port    | default |\n|---------|---------|\n| Server  |  3306   |\n"}