29 lines
1.8 KiB
Properties
29 lines
1.8 KiB
Properties
spring.application.name=taiage
|
|
server.port=8081
|
|
|
|
# ── Base de datos ───────────────────────────────────────────────
|
|
spring.datasource.url=${DB_URL:jdbc:mysql://localhost:3306/taiage?createDatabaseIfNotExist=true&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Europe/Madrid}
|
|
spring.datasource.username=${DB_USER:root}
|
|
spring.datasource.password=${DB_PASS}
|
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
|
|
# ── JPA / Hibernate ─────────────────────────────────────────────
|
|
spring.jpa.hibernate.ddl-auto=update
|
|
spring.jpa.show-sql=false
|
|
spring.jpa.open-in-view=false
|
|
|
|
# ── Thymeleaf ───────────────────────────────────────────────────
|
|
spring.thymeleaf.cache=false
|
|
|
|
# ── Recursos estáticos ──────────────────────────────────────────
|
|
# Los audios se generan en el filesystem (no van en el JAR), se sirven desde ahí.
|
|
# La ruta "file:src/main/resources/static/" permite que el cron actualice mp3 sin
|
|
# necesidad de recompilar. "classpath:/static/" mantiene el resto de estáticos (css, js…)
|
|
spring.web.resources.static-locations=file:src/main/resources/static/,classpath:/static/
|
|
|
|
# ── Stripe ──────────────────────────────────────────────────────
|
|
stripe.secret-key=${STRIPE_SECRET_KEY}
|
|
stripe.webhook-secret=${STRIPE_WEBHOOK_SECRET}
|
|
stripe.price-amount=${STRIPE_PRICE_AMOUNT:2900}
|
|
stripe.currency=eur
|