Module: Rails::Generators::Database::MariaDB
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | railties/lib/rails/generators/database.rb |
Instance Method Summary
Instance Method Details
#name
[ GitHub ]# File 'railties/lib/rails/generators/database.rb', line 50
def name "mariadb" end
#port
[ GitHub ]# File 'railties/lib/rails/generators/database.rb', line 54
def port 3306 end
#service
[ GitHub ]# File 'railties/lib/rails/generators/database.rb', line 58
def service { "image" => "mariadb:10.5", "restart" => "unless-stopped", "networks" => ["default"], "volumes" => ["mariadb-data:/var/lib/mysql"], "environment" => { "MARIADB_ALLOW_EMPTY_ROOT_PASSWORD" => "true", }, } end