Welcome to mirror list, hosted at ThFree Co, Russian Federation.

database.yml.example « config - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 38798760c934079dd6ec110536c2d0faa35e11c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
mysql: &mysql
  adapter: mysql2
  host: "localhost"
  port: 3306
  username: "root"
  password: ""
#  socket: /tmp/mysql.sock
  charset: utf8
  collation: utf8_bin

postgres: &postgres
  adapter: postgresql
  host: localhost
  port: 5432
  username: postgres
  password:
  encoding: unicode


common: &common
  # Choose one of the following
  <<: *mysql
  #<<: *postgres


development:
  <<: *common
  database: diaspora_development

production:
  <<: *common
  database: diaspora_production

test:
  <<: *common
  database: "diaspora_test"