Commit f1bc34f3 authored by RenanMontenegro3's avatar RenanMontenegro3

feat"adição do arquivo .env"

parent 33755e52
DB_DRIVER_CLASS_NAME=com.mysql.cj.jdbc.Driver
DB_PLATFORM=org.hibernate.dialect.MySQL8Dialect
DB_URL=jdbc:mysql://host.docker.internal:3306/porto?createDatabaseIfNotExist=true&serverTimezone=UTC
DB_USERNAME=root
DB_PASSWORD=root
SPRING_SERVLET_MULTIPART_MAX_FILE_SIZE=2GB
SPRING_SERVLET_MULTIPART_MAX_REQUEST_SIZE=2GB
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=pauloacb2020@gmail.com
MAIL_PASSWORD=ehyn ryqu utgv ntjd
MAIL_SMTP_AUTH=true
MAIL_SMTP_STARTTLS_ENABLE=true
JPA_SHOW_SQL=true
JPA_MERGE_ENTITY_COPY_OBSERVER=allow
JPA_HIBERNATE_DDL_AUTO=update
JPA_HIBERNATE_FORMAT_SQL=true
PAGEABLE_ONE_INDEXED_PARAMETERS=true
PAGEABLE_DEFAULT_PAGE_SIZE=2
PAGEABLE_MAX_PAGE_SIZE=20
JWT_ACCESS_SECRET=b9048bb98d808d82bf7250333035db0ea7ada419a53153ec550fcf3dd6d51b13
JWT_ACCESS_EXPIRES_IN=3600
JWT_REFRESH_SECRET=5893d555ee0b886b14929d630c2027b912c104ca29295bf9fd126666baf5bff1
JWT_REFRESH_EXPIRES_IN=7200
DISCO_RAIZ=C:\\fotos-java
DISCO_DIRETORIO_FOTOS=contato-disco
# Datasource configuration spring.datasource.driver-class-name=${DB_DRIVER_CLASS_NAME}
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.jpa.database-platform=${DB_PLATFORM}
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect spring.datasource.url=${DB_URL}
spring.datasource.username=${DB_USERNAME}
#Great spring.datasource.password=${DB_PASSWORD}
spring.datasource.url=jdbc:mysql://host.docker.internal:3306/porto?createDatabaseIfNotExist=true&serverTimezone=UTC
#spring.datasource.url=jdbc:mysql://localhost:3306/porto spring.servlet.multipart.max-file-size=${SPRING_SERVLET_MULTIPART_MAX_FILE_SIZE}
spring.datasource.username=root spring.servlet.multipart.max-request-size=${SPRING_SERVLET_MULTIPART_MAX_REQUEST_SIZE}
spring.datasource.password=root
spring.mail.host=${MAIL_HOST}
#Alien spring.mail.port=${MAIL_PORT}
#spring.datasource.url=jdbc:mysql://localhost:3306/porto spring.mail.username=${MAIL_USERNAME}
#spring.datasource.url=jdbc:mysql://localhost:3306/portem spring.mail.password=${MAIL_PASSWORD}
spring.mail.properties.mail.smtp.auth=${MAIL_SMTP_AUTH}
#Laps spring.mail.properties.mail.smtp.starttls.enable=${MAIL_SMTP_STARTTLS_ENABLE}
#spring.datasource.url=jdbc:mysql://localhost:3306/twjobs
#spring.datasource.username=root spring.jpa.show-sql=${JPA_SHOW_SQL}
#spring.datasource.password=Pasq2024@ spring.jpa.properties.hibernate.event.merge.entity_copy_observer=${JPA_MERGE_ENTITY_COPY_OBSERVER}
#spring.datasource.password=root
spring.jpa.hibernate.ddl-auto=${JPA_HIBERNATE_DDL_AUTO}
spring.servlet.multipart.max-file-size=2GB spring.jpa.properties.hibernate.format_sql=${JPA_HIBERNATE_FORMAT_SQL}
spring.servlet.multipart.max-request-size=2GB
spring.data.web.pageable.one-indexed-parameters=${PAGEABLE_ONE_INDEXED_PARAMETERS}
spring.data.web.pageable.default-page-size=${PAGEABLE_DEFAULT_PAGE_SIZE}
#Email spring.data.web.pageable.max-page-size=${PAGEABLE_MAX_PAGE_SIZE}
spring.mail.host=smtp.gmail.com br.com.treinaweb.twjobs.jwt.accessSecret=${JWT_ACCESS_SECRET}
spring.mail.port=587 br.com.treinaweb.twjobs.jwt.accessExpiresIn=${JWT_ACCESS_EXPIRES_IN}
spring.mail.username=pauloacb2020@gmail.com br.com.treinaweb.twjobs.jwt.refreshSecret=${JWT_REFRESH_SECRET}
spring.mail.password=ehyn ryqu utgv ntjd br.com.treinaweb.twjobs.jwt.refreshExpiresIn=${JWT_REFRESH_EXPIRES_IN}
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true contato.disco.raiz=${DISCO_RAIZ}
contato.disco.diretorio-fotos=${DISCO_DIRETORIO_FOTOS}
# JPA configuration
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.event.merge.entity_copy_observer=allow
# Hibernate configuration
spring.jpa.hibernate.ddl-auto=update
#spring.jpa.hibernate.ddl-auto=create-drop
spring.jpa.properties.hibernate.format_sql=true
# Pagination configuration
spring.data.web.pageable.one-indexed-parameters=true
spring.data.web.pageable.default-page-size=2
#tamanho m�ximo de pagina��o pra todo sistema
spring.data.web.pageable.max-page-size=20
# spring.data.web.pageable.page-parameter=pagina
# spring.data.web.pageable.size-parameter=tamanho
br.com.treinaweb.twjobs.jwt.accessSecret=b9048bb98d808d82bf7250333035db0ea7ada419a53153ec550fcf3dd6d51b13
br.com.treinaweb.twjobs.jwt.accessExpiresIn=3600
br.com.treinaweb.twjobs.jwt.refreshSecret=5893d555ee0b886b14929d630c2027b912c104ca29295bf9fd126666baf5bff1
br.com.treinaweb.twjobs.jwt.refreshExpiresIn=7200
contato.disco.raiz = C:\\fotos-java
contato.disco.diretorio-fotos = contato-disco
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment