Sha256: 86f09b17bcef8f4140788d962f36e0fa6552aaa459f646e2efffd16fc538394a
Contents?: true
Size: 1.05 KB
Versions: 1
Compression:
Stored size: 1.05 KB
Contents
# frozen_string_literal: true # Check out our README: https://github.com/rmehner/uff_db_loader/blob/main/README.md if defined?(UffDbLoader) UffDbLoader.configure do |config| config.ssh_user = 'SSH_USER' config.ssh_host = 'HOST_OF_YOUR_SITE' config.db_name = 'YOUR_DATABASE_NAME' config.db_system = <%= used_database_system %> # Possible values are :postgresql and :mysql config.environments = <%= environments %> # Optional settings: # config.app_name = 'my_app' # Defaults to the Rails app name # config.dumps_directory = '/path/to/dumps' # Defaults to Rails.root.join('dumps') # config.database_config_file = 'path/to/database.yml' # Defaults to Rails.root.join('config', 'database.yml') # config.container_name = ->(app_name, environment) { "#{app_name}_#{environment}_custom_suffix" } # Defaults to "#{app_name}_#{environment}_db". It accepts a static string too. # config.local_restore_command_path = '' # Sets the path to the db-cli (pg_restore, mysql). Defaults to nil so it uses what is configured in $PATH. end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
uff_db_loader-3.2.0 | lib/uff_db_loader/templates/uff_db_loader_initializer.erb |