Skip to content

Commit 174e99e

Browse files
committed
modified application properties
1 parent cdd9b05 commit 174e99e

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

.env.properties

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Database Configuration (Supabase PostgreSQL)
2+
DB_URL=jdbc:postgresql://db.zencayrfzfdrdqvpptjw.supabase.co:5432/postgres
3+
DB_USERNAME=postgres
4+
# DB_URL=jdbc:postgresql://aws-1-ap-south-1.pooler.supabase.com:5432/postgres
5+
# DB_USERNAME=postgres.zencayrfzfdrdqvpptjw
6+
DB_PASSWORD=qLpkBXzz5Jx68ODX
7+
8+
# Server Configuration
9+
SERVER_PORT=8080
10+
11+
# JWT Configuration
12+
JWT_SECRET=vKFoGL2mObffvn1MAHVCpzgk5LkIpwa9gECg24+5p+iI3mwfcSMM8GbwryRsI8KxDtyQvuWyX/vSLvuIA5YSxw==
13+
JWT_EXPIRATION=900000
14+
REFRESH_TOKEN_EXPIRATION=604800000
15+
16+
# Python Microservices Configuration
17+
PYTHON_CALL_ANALYSIS_URL=http://localhost:5001
18+
PYTHON_FACIAL_RECOGNITION_URL=http://localhost:5002

src/main/resources/application.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
spring.config.import=optional:file:.env.properties
2+
13
spring.application.name=CrimeLinkAnalyzer
24

35
# Server Configuration

0 commit comments

Comments
 (0)