Skip to content

Commit

Permalink
Fix the DB config (#27)
Browse files Browse the repository at this point in the history
I removed the development section and special characters from the config
file since they would make it unreadable for the MSF.
  • Loading branch information
SadParad1se authored Jul 18, 2024
1 parent 21acb15 commit 6831a6c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docker/database.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
development: &pgsql
production:
adapter: postgresql
host: <%= ENV['METASPLOIT_DB_HOST'] %>
port: <%= ENV['METASPLOIT_DB_PORT'] %>
Expand All @@ -8,6 +8,3 @@ development: &pgsql
reconnect: true
prepared_statements: <%= ENV['METASPLOIT_DB_PREPARED_STATEMENTS'] %>
advisory_locks: <%= ENV['METASPLOIT_DB_ADVISORY_LOCKS'] %>

production: &production
<<: *pgsql

0 comments on commit 6831a6c

Please sign in to comment.