Class: Rails::Generators::Database::MariaDB
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
Rails::Generators::Database
|
Defined in: | railties/lib/rails/generators/database.rb |
Constant Summary
::Rails::Generators::Database
- Inherited
Class Method Summary
::Rails::Generators::Database
- Inherited
Instance Method Summary
MySqlSocket
- Included
::Rails::Generators::Database
- Inherited
Instance Method Details
#base_package
[ GitHub ]# File 'railties/lib/rails/generators/database.rb', line 199
def base_package nil end
#build_package
[ GitHub ]# File 'railties/lib/rails/generators/database.rb', line 203
def build_package nil end
#feature_name
[ GitHub ]# File 'railties/lib/rails/generators/database.rb', line 207
def feature_name nil end
#gem
[ GitHub ]# File 'railties/lib/rails/generators/database.rb', line 195
def gem ["trilogy", ["~> 2.7"]] end
#name
[ GitHub ]# File 'railties/lib/rails/generators/database.rb', line 175
def name "mariadb" end
#port
[ GitHub ]# File 'railties/lib/rails/generators/database.rb', line 191
def port 3306 end
#service
[ GitHub ]# File 'railties/lib/rails/generators/database.rb', line 179
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