Remove environment variable defaults and align with docker-compose
- Remove default values from database environment variables - Use POSTGRES_USERNAME/PASSWORD to match docker-compose.yaml - Use DB_URL without default to ensure explicit configuration
This commit is contained in:
parent
c0ae476beb
commit
f56e94273f
@ -1,9 +1,9 @@
|
|||||||
api.baseUrl=https://cftunnels.hithomelabs.com
|
api.baseUrl=https://cftunnels.hithomelabs.com
|
||||||
|
|
||||||
# Production Database Configuration
|
# Production Database Configuration
|
||||||
spring.datasource.url=${PROD_DB_URL:jdbc:postgresql://postgres:5432/cftunnel}
|
spring.datasource.url=${DB_URL}
|
||||||
spring.datasource.username=${PROD_DB_USERNAME:postgres}
|
spring.datasource.username=${POSTGRES_USERNAME}
|
||||||
spring.datasource.password=${PROD_DB_PASSWORD}
|
spring.datasource.password=${POSTGRES_PASSWORD}
|
||||||
spring.datasource.driver-class-name=org.postgresql.Driver
|
spring.datasource.driver-class-name=org.postgresql.Driver
|
||||||
|
|
||||||
# JPA Configuration
|
# JPA Configuration
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
api.baseUrl=https://testcf.hithomelabs.com
|
api.baseUrl=https://testcf.hithomelabs.com
|
||||||
|
|
||||||
# Test Database Configuration - Same as Production
|
# Test Database Configuration - Same as Production
|
||||||
spring.datasource.url=${TEST_DB_URL:jdbc:postgresql://postgres:5432/cftunnel}
|
spring.datasource.url=${DB_URL}
|
||||||
spring.datasource.username=${TEST_DB_USERNAME:postgres}
|
spring.datasource.username=${POSTGRES_USERNAME}
|
||||||
spring.datasource.password=${TEST_DB_PASSWORD}
|
spring.datasource.password=${POSTGRES_PASSWORD}
|
||||||
spring.datasource.driver-class-name=org.postgresql.Driver
|
spring.datasource.driver-class-name=org.postgresql.Driver
|
||||||
|
|
||||||
# JPA Configuration
|
# JPA Configuration
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user