configured settings & secrets
This commit is contained in:
21
config/application.yml.sample
Normal file
21
config/application.yml.sample
Normal file
@ -0,0 +1,21 @@
|
||||
# Add configuration values here, as shown below.
|
||||
|
||||
defaults: &defaults
|
||||
mysql_host: "localhost"
|
||||
mysql_usr: "user"
|
||||
mysql_pwd: "password"
|
||||
mailjet_key: "api-key"
|
||||
mailjet_secret: "api-secret"
|
||||
default_mail_from: "skills-assessment@dev.perficientxd.com"
|
||||
|
||||
development:
|
||||
<<: *defaults
|
||||
|
||||
test:
|
||||
<<: *defaults
|
||||
|
||||
production:
|
||||
<<: *defaults
|
||||
mysql_usr: "user"
|
||||
mysql_pwd: "password!"
|
||||
secret_key_base: "super-long-secret-key-base"
|
@ -13,9 +13,9 @@ default: &default
|
||||
adapter: mysql2
|
||||
encoding: utf8
|
||||
pool: 5
|
||||
username: root
|
||||
password: root
|
||||
host: localhost
|
||||
host: <%= ENV['mysql_host'] %>
|
||||
username: <%= ENV['mysql_usr'] %>
|
||||
password: <%= ENV['mysql_pwd'] %>
|
||||
|
||||
development:
|
||||
<<: *default
|
||||
@ -50,5 +50,5 @@ test:
|
||||
production:
|
||||
<<: *default
|
||||
database: skill-assessment-app_production
|
||||
username: skill-assessment-app
|
||||
password: <%= ENV['SKILL-ASSESSMENT-APP_DATABASE_PASSWORD'] %>
|
||||
username: <%= ENV['mysql_usr'] %>
|
||||
password: <%= ENV['mysql_pwd'] %>
|
||||
|
Reference in New Issue
Block a user