Skip to content
This repository was archived by the owner on Dec 3, 2019. It is now read-only.

Commit a2ad9a3

Browse files
Merge pull request #458 from OperationCode/postgres_env_secrets
Postgres env secrets
2 parents 4f55934 + b7b6704 commit a2ad9a3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

config/database.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ default: &default
2222
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
2323
user: <%= ENV['POSTGRES_USER'] %>
2424
host: <%= ENV['POSTGRES_HOST'] %>
25-
password: <%= OperationCode.fetch_secret_with name: :postgres_password %>
25+
password: <%= ENV['POSTGRES_PASSWORD'] %>
2626

2727
development:
2828
<<: *default
@@ -36,4 +36,3 @@ production:
3636
<<: *default
3737
host: <%= ENV['POSTGRES_HOST'].present? ? ENV['POSTGRES_HOST'] : 'operationcode-psql-postgresql' %>
3838
database: operationcode_production
39-
user: opcode_superuser

0 commit comments

Comments
 (0)