Advertisement
Guest User

Untitled

a guest
Oct 11th, 2016
510
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.59 KB | None | 0 0
  1. # Necessary environments. It's required key.
  2. #
  3. environments:
  4. - production
  5.  
  6. database_names: &database_names
  7. production: rubin
  8.  
  9. ###################################################################################################
  10.  
  11. database.yml:
  12. # MySQL supports a reconnect flag in its connections - if set to true, then the client will try
  13. # reconnecting to the server before giving up in case of a lost connection.
  14. # You can now set reconnect = true for your MySQL connections in database.yml to get this
  15. # behavior from a Rails application.
  16. #
  17. reconnect: true
  18.  
  19. # List of databases for each environment. It is required key.
  20. #
  21. database_names:
  22. production: rubin_log
  23.  
  24. # Active Record database connections are managed by ActiveRecord::ConnectionAdapters::ConnectionPool
  25. # which ensures that a connection pool synchronizes the amount of thread access to a limited number
  26. # of database connections. This limit defaults to 5 and can be configured in database.yml.
  27. #
  28. pool: 25
  29.  
  30. # Database credentials
  31. #
  32. username: rubin
  33. password: rubinpass
  34.  
  35. # Connection Preference
  36. #
  37. # socket: /tmp/mysql.sock
  38. host: 192.168.6.98
  39. port: 3306
  40.  
  41. ###################################################################################################
  42.  
  43. log_database.yml:
  44. # Separate database for logs
  45. # MySQL supports a reconnect flag in its connections - if set to true, then the client will try
  46. # reconnecting to the server before giving up in case of a lost connection.
  47. # You can now set reconnect = true for your MySQL connections in database.yml to get this
  48. # behavior from a Rails application.
  49. #
  50. # reconnect: true
  51.  
  52. # List of databases for each environment. It is required key.
  53. #
  54. database_names:
  55. <<: *database_names
  56.  
  57. # Active Record database connections are managed by ActiveRecord::ConnectionAdapters::ConnectionPool
  58. # which ensures that a connection pool synchronizes the amount of thread access to a limited number
  59. # of database connections. This limit defaults to 5 and can be configured in database.yml.
  60. pool: 5
  61.  
  62. # Database credentials
  63. #
  64. username: rubin
  65. password: rubinpass
  66.  
  67. # Connection preferences
  68. #
  69. # socket: /tmp/mysql.sock
  70. host: 192.168.6.98
  71. port: 3306
  72.  
  73. ###################################################################################################
  74.  
  75.  
  76. mongoid.yml:
  77. database_names:
  78. <<: *database_names
  79.  
  80. # Configure available database sessions. (required)
  81. sessions:
  82.  
  83. # Defines the default session. (required)
  84. default:
  85.  
  86. username: rubin
  87. password: rubinpass
  88.  
  89. # Provides the hosts the default session can connect to. Must be an array
  90. # of host:port pairs. (required)
  91. hosts:
  92. - 192.168.6.99:27017
  93.  
  94. # options:
  95. # # Change whether the session persists in safe mode by default.
  96. # # (default: false)
  97. # #
  98. # safe: false
  99.  
  100. # # Change the default consistency model to :eventual or :strong.
  101. # # :eventual will send reads to secondaries, :strong sends everything
  102. # # to master. (default: :eventual)
  103. # #
  104. # consistency: :eventual
  105.  
  106. # # How many times Moped should attempt to retry an operation after
  107. # # failure. (default: 30)
  108. # #
  109. # max_retries: 30
  110.  
  111. # # The time in seconds that Moped should wait before retrying an
  112. # # operation on failure. (default: 1)
  113. # #
  114. # retry_interval: 1
  115.  
  116. # Configure Mongoid specific options. (optional)
  117. # options:
  118.  
  119. # # Configuration for whether or not to allow access to fields that do
  120. # # not have a field definition on the model. (default: true)
  121. # #
  122. # allow_dynamic_fields: true
  123.  
  124. # # Enable the identity map, needed for eager loading. (default: false)
  125. # #
  126. # identity_map_enabled: false
  127.  
  128. # # Includes the root model name in json serialization. (default: false)
  129. # #
  130. # include_root_in_json: false
  131.  
  132. # # Include the _type field in serializaion. (default: false)
  133. # #
  134. # include_type_for_serialization: false
  135.  
  136. # # Preload all models in development, needed when models use
  137. # # inheritance. (default: false)
  138. # #
  139. # preload_models: false
  140.  
  141. # # Protect id and type from mass assignment. (default: true)
  142. # #
  143. # protect_sensitive_fields: true
  144.  
  145. # # Raise an error when performing a #find and the document is not found.
  146. # # (default: true)
  147. # #
  148. # raise_not_found_error: true
  149.  
  150. # # Raise an error when defining a scope with the same name as an
  151. # # existing method. (default: false)
  152. # #
  153. # scope_overwrite_exception: false
  154.  
  155. # # Skip the database version check, used when connecting to a db without
  156. # # admin access. (default: false)
  157. # #
  158. # skip_version_check: false
  159.  
  160. # # User Active Support's time zone in conversions. (default: true)
  161. # #
  162. # use_activesupport_time_zone: true
  163.  
  164. # # Ensure all times are UTC in the app side. (default: false)
  165. # #
  166. # use_utc: false
  167.  
  168. ###################################################################################################
  169.  
  170. redis.yml:
  171. host: 127.0.0.1
  172. port: 6379
  173.  
  174. # List of databases per environment. Default is 0 for each environment
  175. #
  176. # database_names:
  177.  
  178. ###################################################################################################
  179.  
  180. features.yml:
  181. alarms: true
  182. contractors: true
  183. field_maintenance: true
  184. opex: true
  185. advanced_inventory: true
  186. projects: true
  187. workflow_engine: true
  188. pro_reporting: true
  189. trouble_tickets: true
  190. fueling: true
  191. pro_planning: true
  192. old_scheduler_planner: true
  193. old_project_mgt: true
  194. workflow_engine: true
  195. expiration_date: 2033-12-10
  196. email_for_alert: admin@server.com
  197. max_site_qty: 10000
  198. max_user_qty: 10000
  199. max_device_qty: 10000
  200. co_trending_filter: true
  201. co_overlay_kml_kmz: true
  202. co_reporting: true
  203.  
  204. ###################################################################################################
  205.  
  206. local.yml:
  207. production_environments:
  208. - production
  209. # - testing
  210. log_level: 'debug'
  211.  
  212. settings:
  213. sidekiq_namespace: 'deploy'
  214.  
  215. # Use only positive numbers
  216. #
  217. sidekiq_retry_count: 1
  218.  
  219. # Avoid protocol at begin 'http://' or '/' at end
  220. #
  221. default_host: streamline.rubin.nasctech.com
  222.  
  223. # Can be used with name '"Rashid Batorshin" <rb@nasctech.com>' and/or collection ['a@nasc.com', 'b@nasc.com']
  224. #
  225. mail_from: 'notification@techmail.nasctech.com'
  226.  
  227. # Storage engine for attachments: local or gridfs
  228. #
  229. attachments_storage: local
  230.  
  231. attachment_styles:
  232. thumb: '260x260'
  233. medium: '960x600>'
  234.  
  235. # customer: 'sacofa'
  236.  
  237. force_ssl: false
  238.  
  239. # Environments in which we'll have access to mini_profiler's info
  240. #
  241. # mini_profiler_environments:
  242. # - development
  243.  
  244. # Enable/disable default mailers
  245. #
  246. # email_deliveries_enabled: true
  247.  
  248. # Dominate over the settings in the database just use same name
  249. #
  250. db_override: {}
  251.  
  252. optional: {}
  253.  
  254. # Path to wkhtmltopdf binary
  255. #
  256. # wkhtmltopdf_path: '/usr/local/bin/wkhtmltopdf'
  257.  
  258. # Setting for determination of portal's type.
  259. #
  260. # portal_type: 'EG'
  261.  
  262. ###################################################################################################
  263.  
  264. smtp_config.yml:
  265. address: techmail.nasctech.com
  266. port: 25
  267. user_name: notification@techmail.nasctech.com
  268. password: kjbfgFGHSDkjhg
  269. authentication: plain
  270.  
  271. ###################################################################################################
  272.  
  273. sidekiq.yml:
  274. - verbose: false
  275. # path_to_config: /var/www/streamline/shared/sidekiq.yml
  276. pidfile: ./tmp/pids/sidekiq.pid
  277. concurrency: 1
  278. queues:
  279. - [reports, 8]
  280. - [wo_update, 7]
  281. - [mailer, 6]
  282. - [default, 5]
  283. - [co, 4]
  284. - [low, 3]
  285. - [msexport, 6]
  286. - [data_audit, 6]
  287. - [mail_processings, 6]
  288.  
  289. ###################################################################################################
  290.  
  291. newrelic.yml:
  292. license_key: 'b518408f81ca7820e146f1984369599072accc9b'
  293. # app_name: Streamline
  294. monitor_mode: false
  295. # developer_mode: false
  296. # log_level: info
  297. # ssl: false
  298. # apdex_t: 0.5
  299. # capture_params: false
  300. # transaction_tracer:
  301. # enabled: true
  302. # transaction_threshold: apdex_f
  303. # record_sql: obfuscated
  304. # stack_trace_threshold: 0.500
  305. # error_collector:
  306. # enabled: true
  307. # capture_source: true
  308. # ignore_errors: ActionController::RoutingError
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement