1
0
Fork 0

Store multiple PostgreSQL passwords in credentials

This commit is contained in:
Alex Kotov 2019-08-26 09:28:49 +05:00
parent 740b8f2742
commit a582c0b38e
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
3 changed files with 5 additions and 3 deletions

View file

@ -2,7 +2,9 @@ devise_pepper: 8515ff1197799eed94dc596257f7e459e564bad2e9664d0f77755564eca0e656e
devise_secret_key: b5befc05ddfc36049bad568d325a2b0556f92e0701218aa3d662e96ebd2db19f2c8f9e56d046c38938bf94e9a06e8cae59215d591274d3a6de5cb76ca0f4e72e
github_client_id: b657ae74187b2166988f
github_client_secret: 64875198becbc7b301d308fd500ad552506d19f7
postgres_password: ae9e2e490fe21d52c767635956313563
postgres_password:
partynest: ae9e2e490fe21d52c767635956313563
partynest_public: a2f42510af9148bebf486811e52e3be3
rails_cache_redis_password: 6be482269cb7812bceda2d5f2fc5c35f
raven_dsn: https://c2135b1d5f8fb794379ee872f12ab4ea:3d96e586a0099b6fde62460c3f72415f@sentry.io/6865229
recaptcha_secret_key: 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe

View file

@ -1 +1 @@
3EdkyTFauYm1LKXT4vTsfksX1ucjr9lhOgOYXzEKR04lBOMjF+A2hDjR07yP+1vNQnh+U1W4gdlvSuaPj6U+w2VBZgC23LWi7xezCMvQf/fb2E3l9ZN8fs67GytKysTsE5LsbT18PZCQ0Dx0PMDzPqlauWMnihffyvZwsMgJPVrgKCl/0Rk/V7l6drp0OQQqGR0+eIrejtq4GDMVxfJE8KtEmYk4MVeuxO7lYN+P0mSzAZ6+krusH0qQyaCRF/fZDJSb8Sam2ly0R5VW9o5duZK+Ig0is+GUcMc6EM4tEP0vuUldEOOTsFwa7UW2PgtD+9yfBGmSEIIBms7INOSMk5uC4md692/aGdzHtR8/n76pRqCpIY/HvpEUb0sh/kDP4/ISfOATJBzfoLFxRq468zS6KYaeHRmBSAwCDTuQU7vldOyWFyJoiFHXdrSKS4G3N9WMDd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QkRol9fzigxCZcbntmj2MD3DnLlHOCYe1lCJXDayMT+2idfEbgLCOGomNFXQ4llrfjNT4uFI36fLeuDVFS/xi3FqvoHkHChR/0hVk0XdEqFfVe3wyVE36Si92VF0hB9pt4513Zh4hFjaChEjlzNAfsn4+olVF9WXf1QTx9nbqAByZZG21JHuMix6Jq68zsYUakCi7YckZwCBxqK4R25U+QrAODFZUlZg0Bqe9BUuZx1bXm9VcMBWwcVmgogpw5Ms5EhTQV9g2XnDzRZVZCHlCt3591LC+huXET5GNlAua8/UPYO/nEhRolp8tM/XJSHCkV8buHVi/mmSBcSJP1OE0DxSXdGQXFISCYpDIVEzVY897VqogmfDz8g1lSTURsHmln45KHWgiqBqT5g==--PzIIj1KPBN9Yhs68--QqXkIMmav7S6Jkew6WNX1g==

View file

@ -24,4 +24,4 @@ cucumber:
production:
<<: *default
database: <%= ENV.fetch('POSTGRES_DB') { 'partynest_production' } %>
password: <%= Rails.application.credentials.postgres_password %>
password: <%= Rails.application.credentials.postgres_password[ENV.fetch('POSTGRES_USER') { 'partynest' }] %>