Skip to content

Commit fef2aac

Browse files
committed
setup of encryted secrets and usage of initializer file not in repo to hold environment variables
1 parent 6c37efd commit fef2aac

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

evaluationserver/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ web-deployment.yaml
2929
web-env-configmap.yaml
3030
web-service.yaml
3131
coverage
32+
33+
# Ignore encrypted secrets key file.
34+
config/secrets.yml.key
35+
config/initializers/01_env.rb

evaluationserver/config/database.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ development:
1010
pool: 5
1111
username: "<%=ENV['DEVELOPMENT_MYSQL_DB_USERNAME']%>"
1212
password: "<%=ENV['DEVELOPMENT_MYSQL_DB_PASSWORD']%>"
13-
host: db
13+
#host: db
1414

1515

1616
# Warning: The database defined as "test" will be erased and
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ACH+Heu0Gnm0TxQMgkzAD+rCM+u6f7IHhVMFaXJzXvyYJumxERH6QVc73QQdt7+ixgG1pVrR8W4rkq0q5KfRQMu/LWgkzEj8GKSaXNy1xf8V/OD9c4EblgK8zUp4uiuE9apBcyEDJnvcHyiLIwyDbfT7hky5ac9ZPQv0nhjc7Tb7+bhY4T4FWPwSR+GDdKNsKac=--EoM9NjRP8yBsAjWw--tG9Up2kjAUeT6GGnodUT9g==

0 commit comments

Comments
 (0)