-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproduction.properties
More file actions
33 lines (29 loc) · 1.24 KB
/
Copy pathproduction.properties
File metadata and controls
33 lines (29 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Production overlay for rest-sample-dubbo-provider.
# Apply with:
# -Dreactor.config.file=src/main/resources/config/production.properties
# or:
# REACTOR_CONFIG_FILE=/app/config/production.properties
# Kubernetes static-service mode can keep registry disabled.
# Enable only if your environment requires ZooKeeper provider registration.
reactor.dubbo.registry-enabled=false
# reactor.dubbo.registry-enabled=true
# reactor.dubbo.registry-address=zookeeper://zookeeper-client.platform.svc.cluster.local:2181
dubbo.provider.host=rest-sample-dubbo-provider
dubbo.provider.bind-host=0.0.0.0
dubbo.provider.port=20880
# Production should use migrations outside the provider process.
sample.db.schema-init=false
sample.db.pool-name=rest-sample-provider-db
sample.db.postgresql.application-name=rest-sample-dubbo-provider
# Low-RSS Hikari defaults. Raise only after DB wait metrics prove it is needed.
sample.db.maximum-pool-size=2
sample.db.minimum-idle=0
sample.db.connection-timeout-ms=3000
sample.db.validation-timeout-ms=1000
sample.db.idle-timeout-ms=30000
sample.db.max-lifetime-ms=300000
sample.db.leak-detection-threshold-ms=0
sample.db.initialization-fail-timeout-ms=-1
sample.db.auto-commit=true
sample.db.read-only=false
sample.db.register-mbeans=false