加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jndi.yml 2.00 KB
一键复制 编辑 原始数据 按行查看 历史
Gabriel Roldan 提交于 2023-09-06 21:30 . rename pgconfigdb
# This file is imported from geoserver.yml and allows to configure multiple JNDI Datasources
# using standard spring-boot externalized configuration, without having to tweak
# application container specific fongiuration files (i.e. tomcat, jetty, etc. xml config files)
#
# Each JNDI datasource configuration properties is named after the jndi.datasources property,
# has the following attribtues:
#
# * enabled: Whether the datasource shall be configured. Defaults to true.
# * wait-for-it: Whether to wait for the datasource to be ready (connection succeed) at startup
# * wait-timeout: Timeout in seconds to wait for the datasource to be ready. Defaults to 60
# * url: JDBC connection url. Required.
# * username: Database username to connect as
# * password: Database user password
# * driver-class-name: JDBC driver class name. Optional, should be inferred from the URL
# * maximum-pool-size: Maximum number of connections in the pool. Defaults to 10.
# * minimum-idle: Minimum number of connections kept alive in the pool. Defaults to 2.
# * connection-timeout: Connection timeout in milliseconds. Defaults to 250, which is also the minimum allowed value
# * idle-timeout: Maximum time in milliseconds to keep a connection alive while idle. Defaults to 60000.
#
# The data source names will be bound as java:comp/env/jdbc/<name> (e.g. java:comp/env/jdbc/ds1 for
# a datasource called jndi.datasources.ds1):
#
jndi:
datasources:
postgis:
enabled: false
wait-for-it: true
wait-timeout: 10
url: jdbc:postgresql://postgis:5432/postgis
username: postgis
password: postgis
maximum-pool-size: 10
minimum-idle: 2
connection-timeout: 500
idle-timeout: 60000
pgconfig:
enabled: false
schema: pgconfig
wait-for-it: true
wait-timeout: 10
url: jdbc:postgresql://pgconfigdb:5432/pgconfig
username: pgconfig
password: pgconfig
maximum-pool-size: 10
minimum-idle: 0
connection-timeout: 2500
idle-timeout: 60000
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化