Files
clean-architecture-backend-…/docs/mongo/persistence-profile.example.yml
T

28 lines
887 B
YAML

# Example only. This file is not loaded by Spring Boot.
# Copy the relevant block into deployment configuration and replace the secret reference.
ca-skeleton:
persistence-mongo:
enabled: true
active-profile: primary
platform:
profiles:
primary:
uri-secret: secret://mongodb/primary
topology: REPLICA_SET
production: true
stable-api-strict: true
consistency-default: PRIMARY_MAJORITY
server-selection-timeout: 3s
connect-timeout: 2s
socket-read-timeout: 5s
operation-timeout: 3s
pool-min-size: 2
pool-max-size: 40
pool-max-wait-time: 500ms
uuid-representation: STANDARD
decimal-representation: DECIMAL128
runtime-auto-create-indexes: false
tls-required: true
authentication-required: true