Commit 3e1d52f4b7accb100d8a312236f8fc8005b78a69
1 parent
41afd3bf
Exists in
master
and in
4 other branches
add default postgres config
Showing
1 changed file
with
48 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,48 @@ |
1 | +# | |
2 | +# PRODUCTION | |
3 | +# | |
4 | +production: | |
5 | + adapter: postgresql | |
6 | + encoding: unicode | |
7 | + database: gitlabhq_production | |
8 | + pool: 5 | |
9 | + username: postgres | |
10 | + password: | |
11 | + # host: localhost | |
12 | + # socket: /tmp/postgresql.sock | |
13 | + | |
14 | +# | |
15 | +# Development specific | |
16 | +# | |
17 | +development: | |
18 | + adapter: postgresql | |
19 | + encoding: unicode | |
20 | + database: gitlabhq_development | |
21 | + pool: 5 | |
22 | + username: postgres | |
23 | + password: | |
24 | + # socket: /tmp/postgresql.sock | |
25 | + | |
26 | +# | |
27 | +# Staging specific | |
28 | +# | |
29 | +staging: | |
30 | + adapter: postgresql | |
31 | + encoding: unicode | |
32 | + database: gitlabhq_staging | |
33 | + pool: 5 | |
34 | + username: postgres | |
35 | + password: | |
36 | + # socket: /tmp/postgresql.sock | |
37 | + | |
38 | +# Warning: The database defined as "test" will be erased and | |
39 | +# re-generated from your development database when you run "rake". | |
40 | +# Do not set this db to the same as development or production. | |
41 | +test: &test | |
42 | + adapter: postgresql | |
43 | + encoding: unicode | |
44 | + database: gitlabhq_test | |
45 | + pool: 5 | |
46 | + username: postgres | |
47 | + password: | |
48 | + # socket: /tmp/postgresql.sock | ... | ... |