laguzs

springboot application config

Apr 28th, 2022
1,222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.95 KB | None | 0 0
  1. server:
  2.   port: 8082                                                  Puerto del servidor
  3. spring:
  4.   resources:
  5.     static-locations: file:///home/pdi/Projects/static/       Carpeta de archivos estaticos
  6.   jackson:
  7.     date-format: "yyyy-MM-dd HH:mm:ss"                        formato fecha
  8.     time-zone: UTC                                            timezone
  9.   servlet:
  10.     multipart:
  11.       enabled: true                                            servicio multipart
  12.       max-file-size: 2000MB                                    tamaño maximo archivos a subir
  13.       max-request-size: 2000MB                                 tamaño maximo solicitud subir archivos
  14.   datasource:
  15.     initialization-mode: always                                modo inicializacion DB
  16.     driver-class-name: com.mysql.jdbc.Driver                   Driver DB
  17.     url: jdbc:mysql://127.0.0.1:3306/tymdb                     DB url
  18.     username: subadmin                                         usuario para acceder a la DB
  19.     password: Exito!2021                                       Contraseña DB
  20.   jpa:
  21.     hibernate:
  22.       ddl-auto: update                                         Modo Hibernate
  23.     show-sql: false                                            Logs SQL
  24. tym:
  25.   kafka-input:
  26.     imageTopic: image                                          Nombre topico de imagenes
  27.     metricsTopic: metrics-tym                                  Nombre topico de metricas
  28.     bootstrap-servers: 192.168.0.98:9092                       ip y puerto kafka
  29.     group: tym-group-A                                         grupo canal de kafka
  30.   file:
  31.     uploadDir: /home/pdi/Projects/static/videos/               Localizacion para subir videos
  32.   api:
  33.     host: 192.168.0.98                                         Ip Api detector
  34.     port: 8000                                                 Puerto Api Detector
  35.     endpoint: api                                              Endpoint tipo
  36.  
Advertisement
Add Comment
Please, Sign In to add comment