summaryrefslogtreecommitdiffstats
path: root/intentanalysis/src/main/resources/application.yaml
blob: 22f59a52dce3c12e32a1fddaa57491e6d84c1046 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
server:
  port: 8083
  servlet:
    context-path: /api/usecaseui-intent-analysis/v1
spring:
  datasource:
    url: jdbc:postgresql://${POSTGRES_IP:127.0.0.1}:${POSTGRES_PORT:5432}/${POSTGRES_DB_NAME:intentdb}
    username: ${POSTGRES_USERNAME}
    password: ${POSTGRES_PASSWORD}
    driver-class-name: org.postgresql.Driver
    schema: classpath:intent-analysis-init.sql
    initialization-mode: always
mybatis:
  configuration:
    database-id: PostgreSQL
  mapper-locations: classpath*:mybatis/sql/*.xml