Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Alba María Álvarez
/
AppRecetas
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
78626497
authored
Jun 17, 2025
by
Alba María Álvarez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
perf(application.properties): eliminada configuración bbdd H2 y añadida bbdd MongoDB
parent
a2ac34db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
src/main/resources/application.properties
src/main/resources/application.properties
View file @
78626497
spring.application.name
=
AppRecetas
spring.h2.console.enabled
=
true
spring.h2.console.path
=
/h2-console
spring.datasource.url
=
jdbc:h2:mem:app_recetas
spring.datasource.driver-class-name
=
org.h2.Driver
spring.datasource.username
=
user
spring.datasource.password
=
hibernate.dialect
=
org.hibernate.dialect.H2Dialect
spring.jpa.hibernate.ddl-auto
=
create-drop
spring.jpa.show-sql
=
true
spring.jpa.properties.hibernate.format_sql
=
true
spring.data.mongodb.uri
=
mongodb+srv://amaf0001:mongo.25Atlas@cluster0.yadfl4f.mongodb.net/db_recetas?retryWrites=true&w=majority&appName=Cluster0
spring.data.mongodb.auto-index-creation
=
true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment