mirror of
https://git.imnavajas.es/jjimenez/erp-imprimelibros.git
synced 2026-01-13 00:48:49 +00:00
100 lines
1.9 KiB
Properties
100 lines
1.9 KiB
Properties
spring.application.name=erp
|
|
# Active profile
|
|
spring.profiles.active=dev
|
|
#spring.profiles.active=test
|
|
#spring.profiles.active=prod
|
|
|
|
|
|
server.forward-headers-strategy=framework
|
|
server.servlet.session.cookie.secure=true
|
|
|
|
#
|
|
# Database Configuration
|
|
#
|
|
spring.datasource.url=jdbc:mysql://127.0.0.1:3309/imprimelibros?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Europe/Madrid&characterEncoding=utf8
|
|
spring.datasource.username=imprimelibros_user
|
|
spring.datasource.password=om91irrDctd
|
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
spring.jpa.show-sql=false
|
|
# Hibernate Timezone
|
|
spring.jpa.properties.hibernate.jdbc.time_zone=UTC
|
|
|
|
#
|
|
# Resource chain
|
|
# Activa el resource chain y versionado por contenido
|
|
#
|
|
spring.web.resources.chain.enabled=true
|
|
spring.web.resources.chain.strategy.content.enabled=true
|
|
spring.web.resources.chain.strategy.content.paths=/assets/**
|
|
|
|
|
|
#
|
|
# Session timeout
|
|
#
|
|
server.servlet.session.timeout=30m
|
|
|
|
security.rememberme.key=N`BY^YRVO:/\H$hsKxNq
|
|
|
|
|
|
|
|
#
|
|
# Enable HiddenHttpMethodFilter to support PUT and DELETE methods in forms
|
|
#
|
|
spring.mvc.hiddenmethod.filter.enabled=true
|
|
|
|
|
|
|
|
#
|
|
# Email
|
|
#
|
|
spring.mail.host=smtp.ionos.es
|
|
spring.mail.port=587
|
|
spring.mail.username=no-reply@imprimelibros.com
|
|
spring.mail.password=%j4Su*#ZcjRDYsa$
|
|
spring.mail.properties.mail.smtp.auth=true
|
|
spring.mail.properties.mail.smtp.starttls.enable=true
|
|
|
|
|
|
|
|
#
|
|
# Remove JSESSIONID from URL
|
|
#
|
|
server.servlet.session.persistent=false
|
|
|
|
|
|
|
|
#
|
|
# GeoIP
|
|
#
|
|
geoip.enabled=true
|
|
geoip.maxmind.enabled=true
|
|
geoip.http.enabled=true
|
|
|
|
|
|
|
|
#
|
|
# PDF Templates
|
|
#
|
|
#
|
|
imprimelibros.pdf.templates.PRESUPUESTO_presupuesto-a4=imprimelibros/pdf/presupuesto-a4
|
|
imprimelibros.pdf.templates.FACTURA_factura-a4=imprimelibros/pdf/factura-a4
|
|
|
|
|
|
|
|
|
|
#
|
|
# Liquibase
|
|
#
|
|
spring.liquibase.enabled=true
|
|
spring.liquibase.change-log=classpath:db/changelog/master.yml
|
|
|
|
|
|
|
|
# Redsys
|
|
redsys.merchant-code=124760810
|
|
redsys.terminal=1
|
|
redsys.currency=978
|
|
redsys.transaction-type=0
|
|
redsys.secret-key=sq7HjrUOBfKmC576ILgskD5srU870gJ7
|
|
|