Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.56 KB | None | 0 0
  1. account_test: &account_test
  2. adapter: mysql2
  3. reconnect: true
  4. encoding: utf8
  5. collation: utf8_unicode_ci
  6. username: <%= ENV['DB_ACCOUNT_USER'] || ENV['DB_USER'] || "root" %>
  7. password: <%= ENV['DB_ACCOUNT_PASS'] || ENV['DB_PASS'] || "root" %>
  8. database: account_test
  9. host: <%= ENV['DB_ACCOUNT_HOST'] || ENV['DB_HOST'] || "localhost" %>
  10. pool: <%= ENV['DB_ACCOUNT_POOL'] || ENV['DB_POOL'] || 8 %>
  11. local_infile: false
  12. port: <%= ENV['DB_ACCOUNT_PORT'] || ENV['DB_PORT'] || 3306 %>
  13.  
  14.  
  15. barrister_test: &barrister_test
  16. adapter: mysql2
  17. reconnect: true
  18. encoding: utf8
  19. collation: utf8_unicode_ci
  20. username: <%= ENV['DB_BARRISTER_USER'] || ENV['DB_USER'] || "root" %>
  21. password: <%= ENV['DB_BARRISTER_PASS'] || ENV['DB_PASS'] || "root" %>
  22. database: barrister_test
  23. host: <%= ENV['DB_BARRISTER_HOST'] || ENV['DB_HOST'] || "localhost" %>
  24. pool: <%= ENV['DB_BARRISTER_POOL'] || ENV['DB_POOL'] || 8 %>
  25. local_infile: false
  26. port: <%= ENV['DB_BARRISTER_PORT'] || ENV['DB_PORT'] || 3306 %>
  27.  
  28.  
  29. content_test: &content_test
  30. adapter: mysql2
  31. reconnect: true
  32. encoding: utf8
  33. collation: utf8_unicode_ci
  34. username: <%= ENV['DB_CONTENT_USER'] || ENV['DB_USER'] || "root" %>
  35. password: <%= ENV['DB_CONTENT_PASS'] || ENV['DB_PASS'] || "root" %>
  36. database: content_test
  37. host: <%= ENV['DB_CONTENT_HOST'] || ENV['DB_HOST'] || "localhost" %>
  38. pool: <%= ENV['DB_CONTENT_POOL'] || ENV['DB_POOL'] || 8 %>
  39. local_infile: false
  40. port: <%= ENV['DB_CONTENT_PORT'] || ENV['DB_PORT'] || 3306 %>
  41.  
  42.  
  43. gnomon_test: &gnomon_test
  44. adapter: mysql2
  45. reconnect: true
  46. encoding: utf8
  47. collation: utf8_unicode_ci
  48. username: <%= ENV['DB_GNOMON_USER'] || ENV['DB_USER'] || "root" %>
  49. password: <%= ENV['DB_GNOMON_PASS'] || ENV['DB_PASS'] || "root" %>
  50. database: gnomon_test
  51. host: <%= ENV['DB_GNOMON_HOST'] || ENV['DB_HOST'] || "localhost" %>
  52. pool: <%= ENV['DB_GNOMON_POOL'] || ENV['DB_POOL'] || 8 %>
  53. local_infile: true
  54. port: <%= ENV['DB_GNOMON_PORT'] || ENV['DB_PORT'] || 3306 %>
  55.  
  56.  
  57. stats_test: &stats_test
  58. adapter: mysql2
  59. reconnect: true
  60. encoding: utf8
  61. collation: utf8_unicode_ci
  62. username: <%= ENV['DB_STATS_USER'] || ENV['DB_USER'] || "root" %>
  63. password: <%= ENV['DB_STATS_PASS'] || ENV['DB_PASS'] || "root" %>
  64. database: stats_test
  65. host: <%= ENV['DB_STATS_HOST'] || ENV['DB_HOST'] || "localhost" %>
  66. pool: <%= ENV['DB_STATS_POOL'] || ENV['DB_POOL'] || 8 %>
  67. local_infile: false
  68. port: <%= ENV['DB_STATS_PORT'] || ENV['DB_PORT'] || 3306 %>
  69.  
  70.  
  71. test:
  72. <<: *account_test
  73. account_development: &account_development
  74. adapter: mysql2
  75. reconnect: true
  76. encoding: utf8
  77. collation: utf8_unicode_ci
  78. username: <%= ENV['DB_ACCOUNT_USER'] || ENV['DB_USER'] || "root" %>
  79. password: <%= ENV['DB_ACCOUNT_PASS'] || ENV['DB_PASS'] || "root" %>
  80. database: account
  81. host: <%= ENV['DB_ACCOUNT_HOST'] || ENV['DB_HOST'] || "localhost" %>
  82. pool: <%= ENV['DB_ACCOUNT_POOL'] || ENV['DB_POOL'] || 8 %>
  83. local_infile: false
  84. port: <%= ENV['DB_ACCOUNT_PORT'] || ENV['DB_PORT'] || 3306 %>
  85.  
  86.  
  87. barrister_development: &barrister_development
  88. adapter: mysql2
  89. reconnect: true
  90. encoding: utf8
  91. collation: utf8_unicode_ci
  92. username: <%= ENV['DB_BARRISTER_USER'] || ENV['DB_USER'] || "root" %>
  93. password: <%= ENV['DB_BARRISTER_PASS'] || ENV['DB_PASS'] || "root" %>
  94. database: barrister
  95. host: <%= ENV['DB_BARRISTER_HOST'] || ENV['DB_HOST'] || "localhost" %>
  96. pool: <%= ENV['DB_BARRISTER_POOL'] || ENV['DB_POOL'] || 8 %>
  97. local_infile: false
  98. port: <%= ENV['DB_BARRISTER_PORT'] || ENV['DB_PORT'] || 3306 %>
  99.  
  100.  
  101. content_development: &content_development
  102. adapter: mysql2
  103. reconnect: true
  104. encoding: utf8
  105. collation: utf8_unicode_ci
  106. username: <%= ENV['DB_CONTENT_USER'] || ENV['DB_USER'] || "root" %>
  107. password: <%= ENV['DB_CONTENT_PASS'] || ENV['DB_PASS'] || "root" %>
  108. database: content
  109. host: <%= ENV['DB_CONTENT_HOST'] || ENV['DB_HOST'] || "localhost" %>
  110. pool: <%= ENV['DB_CONTENT_POOL'] || ENV['DB_POOL'] || 8 %>
  111. local_infile: false
  112. port: <%= ENV['DB_CONTENT_PORT'] || ENV['DB_PORT'] || 3306 %>
  113.  
  114.  
  115. gnomon_development: &gnomon_development
  116. adapter: mysql2
  117. reconnect: true
  118. encoding: utf8
  119. collation: utf8_unicode_ci
  120. username: <%= ENV['DB_GNOMON_USER'] || ENV['DB_USER'] || "root" %>
  121. password: <%= ENV['DB_GNOMON_PASS'] || ENV['DB_PASS'] || "root" %>
  122. database: gnomon
  123. host: <%= ENV['DB_GNOMON_HOST'] || ENV['DB_HOST'] || "localhost" %>
  124. pool: <%= ENV['DB_GNOMON_POOL'] || ENV['DB_POOL'] || 8 %>
  125. local_infile: true
  126. port: <%= ENV['DB_GNOMON_PORT'] || ENV['DB_PORT'] || 3306 %>
  127.  
  128.  
  129. stats_development: &stats_development
  130. adapter: mysql2
  131. reconnect: true
  132. encoding: utf8
  133. collation: utf8_unicode_ci
  134. username: <%= ENV['DB_STATS_USER'] || ENV['DB_USER'] || "root" %>
  135. password: <%= ENV['DB_STATS_PASS'] || ENV['DB_PASS'] || "root" %>
  136. database: stats
  137. host: <%= ENV['DB_STATS_HOST'] || ENV['DB_HOST'] || "localhost" %>
  138. pool: <%= ENV['DB_STATS_POOL'] || ENV['DB_POOL'] || 8 %>
  139. local_infile: false
  140. port: <%= ENV['DB_STATS_PORT'] || ENV['DB_PORT'] || 3306 %>
  141.  
  142.  
  143. development:
  144. <<: *account_development
  145. account_production: &account_production
  146. adapter: mysql2
  147. reconnect: true
  148. encoding: utf8
  149. collation: utf8_unicode_ci
  150. username: <%= ENV['DB_ACCOUNT_USER'] || ENV['DB_USER'] || "root" %>
  151. password: <%= ENV['DB_ACCOUNT_PASS'] || ENV['DB_PASS'] || "root" %>
  152. database: account
  153. host: <%= ENV['DB_ACCOUNT_HOST'] || ENV['DB_HOST'] || "localhost" %>
  154. pool: <%= ENV['DB_ACCOUNT_POOL'] || ENV['DB_POOL'] || 8 %>
  155. local_infile: false
  156. port: <%= ENV['DB_ACCOUNT_PORT'] || ENV['DB_PORT'] || 3306 %>
  157.  
  158.  
  159. barrister_production: &barrister_production
  160. adapter: mysql2
  161. reconnect: true
  162. encoding: utf8
  163. collation: utf8_unicode_ci
  164. username: <%= ENV['DB_BARRISTER_USER'] || ENV['DB_USER'] || "root" %>
  165. password: <%= ENV['DB_BARRISTER_PASS'] || ENV['DB_PASS'] || "root" %>
  166. database: barrister
  167. host: <%= ENV['DB_BARRISTER_HOST'] || ENV['DB_HOST'] || "localhost" %>
  168. pool: <%= ENV['DB_BARRISTER_POOL'] || ENV['DB_POOL'] || 8 %>
  169. local_infile: false
  170. port: <%= ENV['DB_BARRISTER_PORT'] || ENV['DB_PORT'] || 3306 %>
  171.  
  172.  
  173. content_production: &content_production
  174. adapter: mysql2
  175. reconnect: true
  176. encoding: utf8
  177. collation: utf8_unicode_ci
  178. username: <%= ENV['DB_CONTENT_USER'] || ENV['DB_USER'] || "root" %>
  179. password: <%= ENV['DB_CONTENT_PASS'] || ENV['DB_PASS'] || "root" %>
  180. database: content
  181. host: <%= ENV['DB_CONTENT_HOST'] || ENV['DB_HOST'] || "localhost" %>
  182. pool: <%= ENV['DB_CONTENT_POOL'] || ENV['DB_POOL'] || 8 %>
  183. local_infile: false
  184. port: <%= ENV['DB_CONTENT_PORT'] || ENV['DB_PORT'] || 3306 %>
  185.  
  186.  
  187. gnomon_production: &gnomon_production
  188. adapter: mysql2
  189. reconnect: true
  190. encoding: utf8
  191. collation: utf8_unicode_ci
  192. username: <%= ENV['DB_GNOMON_USER'] || ENV['DB_USER'] || "root" %>
  193. password: <%= ENV['DB_GNOMON_PASS'] || ENV['DB_PASS'] || "root" %>
  194. database: gnomon
  195. host: <%= ENV['DB_GNOMON_HOST'] || ENV['DB_HOST'] || "localhost" %>
  196. pool: <%= ENV['DB_GNOMON_POOL'] || ENV['DB_POOL'] || 8 %>
  197. local_infile: true
  198. port: <%= ENV['DB_GNOMON_PORT'] || ENV['DB_PORT'] || 3306 %>
  199.  
  200.  
  201. stats_production: &stats_production
  202. adapter: mysql2
  203. reconnect: true
  204. encoding: utf8
  205. collation: utf8_unicode_ci
  206. username: <%= ENV['DB_STATS_USER'] || ENV['DB_USER'] || "root" %>
  207. password: <%= ENV['DB_STATS_PASS'] || ENV['DB_PASS'] || "root" %>
  208. database: stats
  209. host: <%= ENV['DB_STATS_HOST'] || ENV['DB_HOST'] || "localhost" %>
  210. pool: <%= ENV['DB_STATS_POOL'] || ENV['DB_POOL'] || 8 %>
  211. local_infile: false
  212. port: <%= ENV['DB_STATS_PORT'] || ENV['DB_PORT'] || 3306 %>
  213.  
  214.  
  215. production:
  216. <<: *account_production
  217. account_ec2: &account_ec2
  218. adapter: mysql2
  219. reconnect: true
  220. encoding: utf8
  221. collation: utf8_unicode_ci
  222. username: <%= ENV['DB_ACCOUNT_USER'] || ENV['DB_USER'] || "root" %>
  223. password: <%= ENV['DB_ACCOUNT_PASS'] || ENV['DB_PASS'] || "root" %>
  224. database: account
  225. host: <%= ENV['DB_ACCOUNT_HOST'] || ENV['DB_HOST'] || "localhost" %>
  226. pool: <%= ENV['DB_ACCOUNT_POOL'] || ENV['DB_POOL'] || 8 %>
  227. local_infile: false
  228. port: <%= ENV['DB_ACCOUNT_PORT'] || ENV['DB_PORT'] || 3306 %>
  229.  
  230.  
  231. barrister_ec2: &barrister_ec2
  232. adapter: mysql2
  233. reconnect: true
  234. encoding: utf8
  235. collation: utf8_unicode_ci
  236. username: <%= ENV['DB_BARRISTER_USER'] || ENV['DB_USER'] || "root" %>
  237. password: <%= ENV['DB_BARRISTER_PASS'] || ENV['DB_PASS'] || "root" %>
  238. database: barrister
  239. host: <%= ENV['DB_BARRISTER_HOST'] || ENV['DB_HOST'] || "localhost" %>
  240. pool: <%= ENV['DB_BARRISTER_POOL'] || ENV['DB_POOL'] || 8 %>
  241. local_infile: false
  242. port: <%= ENV['DB_BARRISTER_PORT'] || ENV['DB_PORT'] || 3306 %>
  243.  
  244.  
  245. content_ec2: &content_ec2
  246. adapter: mysql2
  247. reconnect: true
  248. encoding: utf8
  249. collation: utf8_unicode_ci
  250. username: <%= ENV['DB_CONTENT_USER'] || ENV['DB_USER'] || "root" %>
  251. password: <%= ENV['DB_CONTENT_PASS'] || ENV['DB_PASS'] || "root" %>
  252. database: content
  253. host: <%= ENV['DB_CONTENT_HOST'] || ENV['DB_HOST'] || "localhost" %>
  254. pool: <%= ENV['DB_CONTENT_POOL'] || ENV['DB_POOL'] || 8 %>
  255. local_infile: false
  256. port: <%= ENV['DB_CONTENT_PORT'] || ENV['DB_PORT'] || 3306 %>
  257.  
  258.  
  259. gnomon_ec2: &gnomon_ec2
  260. adapter: mysql2
  261. reconnect: true
  262. encoding: utf8
  263. collation: utf8_unicode_ci
  264. username: <%= ENV['DB_GNOMON_USER'] || ENV['DB_USER'] || "root" %>
  265. password: <%= ENV['DB_GNOMON_PASS'] || ENV['DB_PASS'] || "root" %>
  266. database: gnomon
  267. host: <%= ENV['DB_GNOMON_HOST'] || ENV['DB_HOST'] || "localhost" %>
  268. pool: <%= ENV['DB_GNOMON_POOL'] || ENV['DB_POOL'] || 8 %>
  269. local_infile: true
  270. port: <%= ENV['DB_GNOMON_PORT'] || ENV['DB_PORT'] || 3306 %>
  271.  
  272.  
  273. stats_ec2: &stats_ec2
  274. adapter: mysql2
  275. reconnect: true
  276. encoding: utf8
  277. collation: utf8_unicode_ci
  278. username: <%= ENV['DB_STATS_USER'] || ENV['DB_USER'] || "root" %>
  279. password: <%= ENV['DB_STATS_PASS'] || ENV['DB_PASS'] || "root" %>
  280. database: stats
  281. host: <%= ENV['DB_STATS_HOST'] || ENV['DB_HOST'] || "localhost" %>
  282. pool: <%= ENV['DB_STATS_POOL'] || ENV['DB_POOL'] || 8 %>
  283. local_infile: false
  284. port: <%= ENV['DB_STATS_PORT'] || ENV['DB_PORT'] || 3306 %>
  285.  
  286.  
  287. ec2:
  288. <<: *account_ec2
  289. account_stag: &account_stag
  290. adapter: mysql2
  291. reconnect: true
  292. encoding: utf8
  293. collation: utf8_unicode_ci
  294. username: <%= ENV['DB_ACCOUNT_USER'] || ENV['DB_USER'] || "root" %>
  295. password: <%= ENV['DB_ACCOUNT_PASS'] || ENV['DB_PASS'] || "root" %>
  296. database: account
  297. host: <%= ENV['DB_ACCOUNT_HOST'] || ENV['DB_HOST'] || "localhost" %>
  298. pool: <%= ENV['DB_ACCOUNT_POOL'] || ENV['DB_POOL'] || 8 %>
  299. local_infile: false
  300. port: <%= ENV['DB_ACCOUNT_PORT'] || ENV['DB_PORT'] || 3306 %>
  301.  
  302.  
  303. barrister_stag: &barrister_stag
  304. adapter: mysql2
  305. reconnect: true
  306. encoding: utf8
  307. collation: utf8_unicode_ci
  308. username: <%= ENV['DB_BARRISTER_USER'] || ENV['DB_USER'] || "root" %>
  309. password: <%= ENV['DB_BARRISTER_PASS'] || ENV['DB_PASS'] || "root" %>
  310. database: barrister
  311. host: <%= ENV['DB_BARRISTER_HOST'] || ENV['DB_HOST'] || "localhost" %>
  312. pool: <%= ENV['DB_BARRISTER_POOL'] || ENV['DB_POOL'] || 8 %>
  313. local_infile: false
  314. port: <%= ENV['DB_BARRISTER_PORT'] || ENV['DB_PORT'] || 3306 %>
  315.  
  316.  
  317. content_stag: &content_stag
  318. adapter: mysql2
  319. reconnect: true
  320. encoding: utf8
  321. collation: utf8_unicode_ci
  322. username: <%= ENV['DB_CONTENT_USER'] || ENV['DB_USER'] || "root" %>
  323. password: <%= ENV['DB_CONTENT_PASS'] || ENV['DB_PASS'] || "root" %>
  324. database: content
  325. host: <%= ENV['DB_CONTENT_HOST'] || ENV['DB_HOST'] || "localhost" %>
  326. pool: <%= ENV['DB_CONTENT_POOL'] || ENV['DB_POOL'] || 8 %>
  327. local_infile: false
  328. port: <%= ENV['DB_CONTENT_PORT'] || ENV['DB_PORT'] || 3306 %>
  329.  
  330.  
  331. gnomon_stag: &gnomon_stag
  332. adapter: mysql2
  333. reconnect: true
  334. encoding: utf8
  335. collation: utf8_unicode_ci
  336. username: <%= ENV['DB_GNOMON_USER'] || ENV['DB_USER'] || "root" %>
  337. password: <%= ENV['DB_GNOMON_PASS'] || ENV['DB_PASS'] || "root" %>
  338. database: gnomon
  339. host: <%= ENV['DB_GNOMON_HOST'] || ENV['DB_HOST'] || "localhost" %>
  340. pool: <%= ENV['DB_GNOMON_POOL'] || ENV['DB_POOL'] || 8 %>
  341. local_infile: true
  342. port: <%= ENV['DB_GNOMON_PORT'] || ENV['DB_PORT'] || 3306 %>
  343.  
  344.  
  345. stats_stag: &stats_stag
  346. adapter: mysql2
  347. reconnect: true
  348. encoding: utf8
  349. collation: utf8_unicode_ci
  350. username: <%= ENV['DB_STATS_USER'] || ENV['DB_USER'] || "root" %>
  351. password: <%= ENV['DB_STATS_PASS'] || ENV['DB_PASS'] || "root" %>
  352. database: stats
  353. host: <%= ENV['DB_STATS_HOST'] || ENV['DB_HOST'] || "localhost" %>
  354. pool: <%= ENV['DB_STATS_POOL'] || ENV['DB_POOL'] || 8 %>
  355. local_infile: false
  356. port: <%= ENV['DB_STATS_PORT'] || ENV['DB_PORT'] || 3306 %>
  357.  
  358.  
  359. stag:
  360. <<: *account_stag
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement