Files
cmc/support-portal-backend/src/main/resources/application.yml

39 lines
855 B
YAML

server:
error:
whitelabel:
enabled: false
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://mysql:3306/support-portal
username: support_portal_user
password: support_portal_password
jpa:
hibernate:
ddl-auto: update
properties:
hibernate:
dialect: org.hibernate.dialect.MySQL8Dialect
# mvc:
# throw-exception-if-no-handler-found: true
# web:
# resources:
# add-mappings: false
app:
public-urls: /user/login,/user/register,/user/image/**
jwt:
secret: VeRy_5ecretP@55W0rd!
# secret: ${random.value} #Does not work - every time generates new value
---
spring:
config:
activate:
on-profile: local
datasource:
url: jdbc:mysql://localhost:23306/support-portal
jpa:
show-sql: true
logging:
level:
net.shyshkin: debug