File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
java/csembstu/alamgir/server Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 66
77@ SpringBootApplication
88public class ServerApplication {
9-
109 public static void main (String [] args ) {
1110
1211 EnvConfig .loadEnv ();
Original file line number Diff line number Diff line change @@ -4,11 +4,12 @@ spring.application.name=server
44server.port =8000
55
66# Database Setup for PostgreSQL
7- spring.datasource.url =jdbc:postgresql://${DB_HOST}:${DB_PORT}/${DB_NAME}
7+ spring.datasource.url =${SPRING_DATASOURCE_URL: jdbc:postgresql://${DB_HOST}:${DB_PORT}/${DB_NAME} }
88spring.datasource.username =${DB_USER}
99spring.datasource.password =${DB_PASSWORD}
10+
1011spring.datasource.driver-class-name =org.postgresql.Driver
11- # spring.jpa.hibernate.ddl-auto=update
12+ spring.jpa.hibernate.ddl-auto =update
1213spring.jpa.show-sql =true
1314
1415
You can’t perform that action at this time.
0 commit comments