Addons Docs

MySQL

MySQL is a widely used, open-source relational database management system (RDBMS).

IMPORTANT: persistent_path should NOT be changed.

Default configs:

See the repository for the configurations definition.

{

    "name": "mysql",

    "category": "database",

    "minimum_memory_mb": 500,

    "logo_filename": "logo.svg",

    "documentation_filename": "README.md",

    "image": "mysql",

    "requires_persistence": true,

    "persistent_path": "/var/lib/mysql",

    "ports": [

      {

        "target_port": 3306,

        "protocol": "TCP"

      }

    ],

    "required_fields": ["persistent_path"],

    "env_variables": {

        "MYSQL_ROOT_PASSWORD": "my-secret-pw",

        "MYSQL_USER": "",

        "MYSQL_DATABASE": "mydb"

    },

    "required_env_variables": [

        "MYSQL_ROOT_PASSWORD",

        "MYSQL_USER",

        "MYSQL_DATABASE"

    ]

}