Skip to content

Commit

Permalink
Update microservice-paiements.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
mayel15 authored Apr 22, 2024
1 parent 76b77b6 commit 643cb9a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions microservice-paiements.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
server.port=8082

spring.datasource.url=jdbc:postgresql://localhost:5432/tp-e-commerce
spring.datasource.username=postgres
spring.datasource.password=postgres
spring.datasource.url=jdbc:postgresql://${POSTGRES_HOST:localhost}:${POSTGRES_PORT:5435}/tp-e-commerce
spring.datasource.username=${POSTGRES_USERNAME:postgres}
spring.datasource.password=${POSTGRES_PASSWORD:postgres}

spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.hibernate.ddl-auto=update

eureka.client.serviceUrl.defaultZone=http://localhost:9102/eureka/
eureka.client.serviceUrl.defaultZone=http://${EUREKA_HOST:localhost}:9102/eureka/

0 comments on commit 643cb9a

Please sign in to comment.