Fix database URL configuration for docker-compose compatibility
- Hardcode PostgreSQL connection URL to match docker service name 'postgres' - Remove DB_URL environment variable dependency that was causing startup failures - Keep username/password as environment variables for flexibility
This commit is contained in:
parent
e9675db11a
commit
cca5fbe055
@ -1,7 +1,7 @@
|
|||||||
api.baseUrl=https://cftunnels.hithomelabs.com
|
api.baseUrl=https://cftunnels.hithomelabs.com
|
||||||
|
|
||||||
# Production Database Configuration
|
# Production Database Configuration
|
||||||
spring.datasource.url=${DB_URL}
|
spring.datasource.url=jdbc:postgresql://postgres:5432/cftunnel
|
||||||
spring.datasource.username=${POSTGRES_USERNAME}
|
spring.datasource.username=${POSTGRES_USERNAME}
|
||||||
spring.datasource.password=${POSTGRES_PASSWORD}
|
spring.datasource.password=${POSTGRES_PASSWORD}
|
||||||
spring.datasource.driver-class-name=org.postgresql.Driver
|
spring.datasource.driver-class-name=org.postgresql.Driver
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
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=${DB_URL}
|
spring.datasource.url=jdbc:postgresql://postgres:5432/cftunnel
|
||||||
spring.datasource.username=${POSTGRES_USERNAME}
|
spring.datasource.username=${POSTGRES_USERNAME}
|
||||||
spring.datasource.password=${POSTGRES_PASSWORD}
|
spring.datasource.password=${POSTGRES_PASSWORD}
|
||||||
spring.datasource.driver-class-name=org.postgresql.Driver
|
spring.datasource.driver-class-name=org.postgresql.Driver
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user