27 lines
779 B
Properties
27 lines
779 B
Properties
|
|
spring.application.name=GestionInventario
|
|||
|
|
server.port=8080
|
|||
|
|
server.servlet.context-path=/Inventario
|
|||
|
|
|
|||
|
|
# Configuraci<63>n de logs
|
|||
|
|
logging.level.root=INFO
|
|||
|
|
logging.level.org.springframework=DEBUG
|
|||
|
|
|
|||
|
|
# Configuraci<63>n de la base de datos MySQL
|
|||
|
|
spring.datasource.url=jdbc:mysql://localhost:3306/Inventario?useSSL=false&serverTimezone=UTC
|
|||
|
|
spring.datasource.username=root
|
|||
|
|
spring.datasource.password=0517
|
|||
|
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
|||
|
|
|
|||
|
|
# Configuraci<63>n de JPA e Hibernate
|
|||
|
|
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
|
|||
|
|
spring.jpa.hibernate.ddl-auto=update
|
|||
|
|
|
|||
|
|
|
|||
|
|
# Para inicializar datos en la base de datos (opcional)
|
|||
|
|
spring.sql.init.mode=always
|
|||
|
|
spring.security.user.name=admin
|
|||
|
|
spring.security.user.password=admin123
|
|||
|
|
spring.security.user.roles=ADMIN
|
|||
|
|
|
|||
|
|
|