2021-05-18 10:39:20 +07:00
|
|
|
spring:
|
|
|
|
profiles:
|
2022-04-11 12:35:47 +07:00
|
|
|
active: ${APP_PROFILE:demo}
|
2021-05-18 10:39:20 +07:00
|
|
|
application:
|
|
|
|
name: cubetiq-api-service
|
2022-04-11 12:35:47 +07:00
|
|
|
redis:
|
|
|
|
enabled: ${REDIS_ENABLED:false}
|
|
|
|
host: ${REDIS_HOST:localhost}
|
|
|
|
password: ${REDIS_PASSWORD:null}
|
|
|
|
datasource:
|
2022-04-11 12:58:40 +07:00
|
|
|
enabled: ${DATASOURCE_ENABLED:true}
|
|
|
|
driverClassName: ${DATASOURCE_DRIVER_CLASS_NAME:org.h2.Driver}
|
|
|
|
url: ${DATASOURCE_URL:jdbc:h2:file:${H2_DB_PATH:${cubetiq.app.data-dir}/data/db};DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE}
|
|
|
|
username: ${DATASOURCE_USERNAME:sa}
|
|
|
|
password: ${DATASOURCE_PASSWORD:password}
|
|
|
|
jpa:
|
|
|
|
hibernate:
|
|
|
|
ddl-auto: ${JPA_HIBERNATE_DDL_AUTO:update}
|
2022-04-11 12:35:47 +07:00
|
|
|
|
|
|
|
module:
|
|
|
|
user:
|
2022-04-11 12:58:40 +07:00
|
|
|
enabled: ${MODULE_USER_ENABLED:true}
|
2021-05-18 10:39:20 +07:00
|
|
|
|
|
|
|
cubetiq:
|
|
|
|
app:
|
|
|
|
data-dir: ${APP_DATA_DIR:${user.home}/${spring.application.name}}
|
2021-12-11 12:19:23 +07:00
|
|
|
name: CUBETIQ Web API
|
|
|
|
description: CUBETIQ Spring Web API's Documentation
|
2021-05-18 10:39:20 +07:00
|
|
|
|
|
|
|
logging:
|
|
|
|
file:
|
|
|
|
path: ${LOGGING_FILE_PATH:${cubetiq.app.data-dir}/logs/}
|
2021-12-11 11:53:10 +07:00
|
|
|
name: ${logging.file.path}/app.log
|
2021-12-11 12:19:23 +07:00
|
|
|
|
2021-12-11 11:53:10 +07:00
|
|
|
springdoc:
|
|
|
|
api-docs:
|
|
|
|
enabled: true
|
|
|
|
swagger-ui:
|
|
|
|
path: /swagger-ui
|