Skip to content

Commit b10b2c6

Browse files
committed
Landing rapid7#1746 - Adds some friendlier defaults to database.yml
[Closes rapid7#1746]
2 parents ab976bc + 881d16e commit b10b2c6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

config/database.yml.example

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
# Please only use postgresql bound to a TCP port.
2+
# Only postgresql is supportable for metasploit-framework
3+
# these days. (No SQLite, no MySQL).
4+
#
5+
# To set up a metasploit database, follow the directions hosted at:
6+
# https://fedoraproject.org/wiki/Metasploit_Postgres_Setup (Works on
7+
# essentially any Linux distro, not just Fedora)
28
development: &pgsql
39
adapter: postgresql
410
database: metasploit_framework_development
@@ -9,6 +15,12 @@ development: &pgsql
915
pool: 5
1016
timeout: 5
1117

18+
# You will often want to seperate your databases between dev
19+
# mode and prod mode. Absent a production db, though, defaulting
20+
# to dev is pretty sensible for many developer-users.
21+
production: &production
22+
<<: *pgsql
23+
1224
# Warning: The database defined as "test" will be erased and
1325
# re-generated from your development database when you run "rake".
1426
# Do not set this db to the same as development or production.

0 commit comments

Comments
 (0)