forked from nickthecook/archyve
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatabase.yml
28 lines (25 loc) · 795 Bytes
/
database.yml
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
# SQLite. Versions 3.8.0 and up are supported.
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem "sqlite3"
#
default: &default
adapter: postgresql
url: <%= ENV.fetch("DATABASE_URL") { "postgresql://127.0.0.1:5431" } %>
username: <%= ENV.fetch("DATABASE_USERNAME") { "postgres" } %>
password: <%= ENV.fetch("DATABASE_PASSWORD") { "password" } %>
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 15 } %>
timeout: 2000
development:
<<: *default
database: development
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
<<: *default
database: test
production:
<<: *default
database: production