Skip to content

Commit

Permalink
Merge pull request #173 from fga-eps-mds/new-fetuare/149-config-homol…
Browse files Browse the repository at this point in the history
…ogation-env

Config heroku environment
  • Loading branch information
min-ia committed Sep 27, 2018
2 parents f2e6d52 + bdc4463 commit f80a45e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions heroku.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
setup:
addons:
- plan: heroku-postgresql
as: DATABASE
config:
S3_BUCKET: my-example-bucket
build:
docker:
web: Dockerfile
config:
RAILS_ENV: production
run:
web: puma
2 changes: 1 addition & 1 deletion indicaAi/config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ test:
#
production:
<<: *default
database: indicaAi_production
database: <%= ENV['DATABASE_URL'] %>
username: indicaAi
password: <%= ENV['INDICAAI_DATABASE_PASSWORD'] %>

0 comments on commit f80a45e

Please sign in to comment.