Skip to content

Commit 3a2e981

Browse files
committed
heroku postgres configuration
1 parent ca58f3c commit 3a2e981

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/main/resources/config/application-prod.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ spring:
3333
enabled: false
3434
datasource:
3535
type: com.zaxxer.hikari.HikariDataSource
36-
url: jdbc:postgresql://localhost:5432/blog
37-
username: blog
38-
password:
36+
url: jdbc:postgresql://ec2-54-228-32-29.eu-west-1.compute.amazonaws.com:5432/d3u9gjp7sid0q6
37+
username: nlkshkvuuobqke
38+
password: 837dd58cd40354dccde06e066dc8aa20788d5b04659e8fb9adf9493af2e7c5f9
3939
hikari:
4040
poolName: Hikari
4141
auto-commit: false

src/main/resources/config/application.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ spring:
104104
- api-docs
105105
# Uncomment to activate TLS for the dev profile
106106
#- tls
107+
prod:
108+
- prod
109+
- api-docs
107110
jmx:
108111
enabled: false
109112
data:

0 commit comments

Comments
 (0)