Skip to content

Commit

Permalink
Update application.properties
Browse files Browse the repository at this point in the history
Updated to use the Render hosted PostgreSQL (90 day validity).
  • Loading branch information
nhkhai committed May 1, 2024
1 parent c72f143 commit c74ef7d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ server.port=9090

# Database Configuration.
# PostgreSQL.
spring.datasource.url=jdbc:postgresql://localhost:5432/the_review_room
# spring.datasource.url=jdbc:postgresql://localhost:5432/the_review_room
# spring.datasource.url=postgres://thereviewroom:pDQShsRlKEuO9U5A0pEhSDpYi97deJnC@dpg-cop4fvgl5elc739f440g-a.singapore-postgres.render.com/the_review_room
spring.datasource.url=postgres://thereviewroom:pDQShsRlKEuO9U5A0pEhSDpYi97deJnC@dpg-cop4fvgl5elc739f440g-a/the_review_room
# For WSL, use postgres.
# For Mac, use your Mac username.
spring.datasource.username=postgres
# spring.datasource.username=postgres
spring.datasource.username=thereviewroom
# Password can be blank if we set it to trust in pg_hba.conf.
spring.datasource.password=

Expand Down

0 comments on commit c74ef7d

Please sign in to comment.