Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
ADDED: deefault properties in prod mode in order to use it in prod too
Browse files Browse the repository at this point in the history
  • Loading branch information
AleixMT committed Jan 18, 2024
1 parent 6d55b06 commit af8e32c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/application-prod.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
####################################

# Set connection to the desired table of DB using URL
spring.datasource.url=jdbc:postgresql://${POSTGRES_OPERADOR_INTERNAL_DOMAIN:postgres_operador}:${PGPORT:5432}/${PGDATABASE:bookabook}
spring.datasource.url=jdbc:postgresql://${POSTGRES_OPERADOR_INTERNAL_DOMAIN:postgres_operador}:${PGPORT:5432}/${PGDATABASE:book-a-book-operador}

# Database credentials
spring.datasource.username=${POSTGRES_USER:aleixmt}
Expand All @@ -30,4 +30,4 @@ spring.jpa.properties.hibernate.format_sql=true
### EUREKA ###
##############
# URL of the Eureka service
eureka.client.serviceUrl.defaultZone=http://${EUREKA_INTERNAL_DOMAIN:localhost}:${EUREKA_INTERNAL_PORT:8761}/eureka
eureka.client.serviceUrl.defaultZone=http://${EUREKA_INTERNAL_DOMAIN:book-a-book-eureka}:${EUREKA_INTERNAL_PORT:8761}/eureka

0 comments on commit af8e32c

Please sign in to comment.