Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Necessary environments. It's required key.
- #
- environments:
- - production
- database_names: &database_names
- production: rubin
- ###################################################################################################
- database.yml:
- # MySQL supports a reconnect flag in its connections - if set to true, then the client will try
- # reconnecting to the server before giving up in case of a lost connection.
- # You can now set reconnect = true for your MySQL connections in database.yml to get this
- # behavior from a Rails application.
- #
- reconnect: true
- # List of databases for each environment. It is required key.
- #
- database_names:
- production: rubin_log
- # Active Record database connections are managed by ActiveRecord::ConnectionAdapters::ConnectionPool
- # which ensures that a connection pool synchronizes the amount of thread access to a limited number
- # of database connections. This limit defaults to 5 and can be configured in database.yml.
- #
- pool: 25
- # Database credentials
- #
- username: rubin
- password: rubinpass
- # Connection Preference
- #
- # socket: /tmp/mysql.sock
- host: 192.168.6.98
- port: 3306
- ###################################################################################################
- log_database.yml:
- # Separate database for logs
- # MySQL supports a reconnect flag in its connections - if set to true, then the client will try
- # reconnecting to the server before giving up in case of a lost connection.
- # You can now set reconnect = true for your MySQL connections in database.yml to get this
- # behavior from a Rails application.
- #
- # reconnect: true
- # List of databases for each environment. It is required key.
- #
- database_names:
- <<: *database_names
- # Active Record database connections are managed by ActiveRecord::ConnectionAdapters::ConnectionPool
- # which ensures that a connection pool synchronizes the amount of thread access to a limited number
- # of database connections. This limit defaults to 5 and can be configured in database.yml.
- pool: 5
- # Database credentials
- #
- username: rubin
- password: rubinpass
- # Connection preferences
- #
- # socket: /tmp/mysql.sock
- host: 192.168.6.98
- port: 3306
- ###################################################################################################
- mongoid.yml:
- database_names:
- <<: *database_names
- # Configure available database sessions. (required)
- sessions:
- # Defines the default session. (required)
- default:
- username: rubin
- password: rubinpass
- # Provides the hosts the default session can connect to. Must be an array
- # of host:port pairs. (required)
- hosts:
- - 192.168.6.99:27017
- # options:
- # # Change whether the session persists in safe mode by default.
- # # (default: false)
- # #
- # safe: false
- # # Change the default consistency model to :eventual or :strong.
- # # :eventual will send reads to secondaries, :strong sends everything
- # # to master. (default: :eventual)
- # #
- # consistency: :eventual
- # # How many times Moped should attempt to retry an operation after
- # # failure. (default: 30)
- # #
- # max_retries: 30
- # # The time in seconds that Moped should wait before retrying an
- # # operation on failure. (default: 1)
- # #
- # retry_interval: 1
- # Configure Mongoid specific options. (optional)
- # options:
- # # Configuration for whether or not to allow access to fields that do
- # # not have a field definition on the model. (default: true)
- # #
- # allow_dynamic_fields: true
- # # Enable the identity map, needed for eager loading. (default: false)
- # #
- # identity_map_enabled: false
- # # Includes the root model name in json serialization. (default: false)
- # #
- # include_root_in_json: false
- # # Include the _type field in serializaion. (default: false)
- # #
- # include_type_for_serialization: false
- # # Preload all models in development, needed when models use
- # # inheritance. (default: false)
- # #
- # preload_models: false
- # # Protect id and type from mass assignment. (default: true)
- # #
- # protect_sensitive_fields: true
- # # Raise an error when performing a #find and the document is not found.
- # # (default: true)
- # #
- # raise_not_found_error: true
- # # Raise an error when defining a scope with the same name as an
- # # existing method. (default: false)
- # #
- # scope_overwrite_exception: false
- # # Skip the database version check, used when connecting to a db without
- # # admin access. (default: false)
- # #
- # skip_version_check: false
- # # User Active Support's time zone in conversions. (default: true)
- # #
- # use_activesupport_time_zone: true
- # # Ensure all times are UTC in the app side. (default: false)
- # #
- # use_utc: false
- ###################################################################################################
- redis.yml:
- host: 127.0.0.1
- port: 6379
- # List of databases per environment. Default is 0 for each environment
- #
- # database_names:
- ###################################################################################################
- features.yml:
- alarms: true
- contractors: true
- field_maintenance: true
- opex: true
- advanced_inventory: true
- projects: true
- workflow_engine: true
- pro_reporting: true
- trouble_tickets: true
- fueling: true
- pro_planning: true
- old_scheduler_planner: true
- old_project_mgt: true
- workflow_engine: true
- expiration_date: 2033-12-10
- email_for_alert: admin@server.com
- max_site_qty: 10000
- max_user_qty: 10000
- max_device_qty: 10000
- co_trending_filter: true
- co_overlay_kml_kmz: true
- co_reporting: true
- ###################################################################################################
- local.yml:
- production_environments:
- - production
- # - testing
- log_level: 'debug'
- settings:
- sidekiq_namespace: 'deploy'
- # Use only positive numbers
- #
- sidekiq_retry_count: 1
- # Avoid protocol at begin 'http://' or '/' at end
- #
- default_host: streamline.rubin.nasctech.com
- # Can be used with name '"Rashid Batorshin" <rb@nasctech.com>' and/or collection ['a@nasc.com', 'b@nasc.com']
- #
- mail_from: 'notification@techmail.nasctech.com'
- # Storage engine for attachments: local or gridfs
- #
- attachments_storage: local
- attachment_styles:
- thumb: '260x260'
- medium: '960x600>'
- # customer: 'sacofa'
- force_ssl: false
- # Environments in which we'll have access to mini_profiler's info
- #
- # mini_profiler_environments:
- # - development
- # Enable/disable default mailers
- #
- # email_deliveries_enabled: true
- # Dominate over the settings in the database just use same name
- #
- db_override: {}
- optional: {}
- # Path to wkhtmltopdf binary
- #
- # wkhtmltopdf_path: '/usr/local/bin/wkhtmltopdf'
- # Setting for determination of portal's type.
- #
- # portal_type: 'EG'
- ###################################################################################################
- smtp_config.yml:
- address: techmail.nasctech.com
- port: 25
- user_name: notification@techmail.nasctech.com
- password: kjbfgFGHSDkjhg
- authentication: plain
- ###################################################################################################
- sidekiq.yml:
- - verbose: false
- # path_to_config: /var/www/streamline/shared/sidekiq.yml
- pidfile: ./tmp/pids/sidekiq.pid
- concurrency: 1
- queues:
- - [reports, 8]
- - [wo_update, 7]
- - [mailer, 6]
- - [default, 5]
- - [co, 4]
- - [low, 3]
- - [msexport, 6]
- - [data_audit, 6]
- - [mail_processings, 6]
- ###################################################################################################
- newrelic.yml:
- license_key: 'b518408f81ca7820e146f1984369599072accc9b'
- # app_name: Streamline
- monitor_mode: false
- # developer_mode: false
- # log_level: info
- # ssl: false
- # apdex_t: 0.5
- # capture_params: false
- # transaction_tracer:
- # enabled: true
- # transaction_threshold: apdex_f
- # record_sql: obfuscated
- # stack_trace_threshold: 0.500
- # error_collector:
- # enabled: true
- # capture_source: true
- # ignore_errors: ActionController::RoutingError
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement