Skip to content

Commit a317bf7

Browse files
committed
Moved from MySQL to PostgreSQL; Prepared for production
1 parent 2ef9e06 commit a317bf7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/resources/application.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ spring.datasource.password = root
44
spring.jpa.show-sql = true
55
spring.jpa.hibernate.ddl-auto = update
66

7+
8+
#Amazon Elastic Beanstalk database settings, used in production mode:
9+
710
#spring.datasource.url = jdbc:postgresql://${RDS_HOSTNAME}:${RDS_PORT}/${RDS_DB_NAME}
811
#spring.datasource.username = ${RDS_USERNAME}
912
#spring.datasource.password = ${RDS_PASSWORD}

0 commit comments

Comments
 (0)