diff --git a/devops/stack.yml b/devops/stack.yml index 90da015..a3c9c5f 100644 --- a/devops/stack.yml +++ b/devops/stack.yml @@ -12,7 +12,7 @@ services: mode: host networks: - desarrollo_net - db: + dbclases: image: postgres:15.0-bullseye environment: - TZ=America/Guayaquil diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index faa04f9..63b60e0 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.properties @@ -1,4 +1,4 @@ -spring.datasource.url=jdbc:postgresql://db:5432/pedidosdb +spring.datasource.url=jdbc:postgresql://dbclases:5432/pedidosdb spring.datasource.username=postgres spring.datasource.password=postgres spring.jpa.hibernate.ddl-auto=update