Files
tasknote/server/src/main/resources/application.yml
T
rmcampos 169f07801a
Main CI-Frontend / Build & Push (push) Successful in 39s
Main CI-Backend / Build & Push (push) Successful in 45s
Security/critical fixes (#4)
## What

- Addressing security issues: critical and not so critical (more fixed will be pushed soon)

## Why

- The app needs to be secure and safe.

## Mood
<img width="200" src="https://media2.giphy.com/media/CSpfd57m9WGHnxMWXm/100.webp?cid=36b14facw100seggylsefdj0ap2oopoux3bn3jn6qu59xggq&ep=v1_gifs_search&rid=100.webp&ct=g"/>

Reviewed-on: #4
2026-06-29 19:23:41 +00:00

44 lines
1.0 KiB
YAML

br:
com:
tasknote:
server:
jwt-secret: ${SECURITY_KEY}
target-env: ${TARGET_ENV:development}
cors:
allowed-origins: ${CORS_ALLOWED_ORIGINS:http://localhost}
logging:
level:
root: ${ROOT_LOG_LEVEL:INFO}
br.com.tasknoteapp: INFO
mailgun:
api-key: ${MAILGUN_APIKEY:abc123456}
domain: tasknote.cc
sender-email: no-reply@tasknote.cc
server:
port: 8585
error:
include-message: never
servlet:
context-path: ${SERVER_SERVLET_CONTEXT_PATH:/server}
spring:
application:
name: tasknote-api
datasource:
driver-class-name: org.postgresql.Driver
password: ${POSTGRES_PASSWORD}
url: jdbc:postgresql://${POSTGRES_HOST:localhost}:${POSTGRES_PORT:5435}/${POSTGRES_DB:tasknote}
username: ${POSTGRES_USER:tasknoteuser}
flyway:
baseline-on-migrate: true
enabled: true
locations: classpath:db/migration
jpa:
database-platform: org.hibernate.dialect.PostgreSQLDialect
open-in-view: false
properties:
hibernate:
default_schema: tasknote
show-sql: false