Skip to content

Commit

Permalink
docu
Browse files Browse the repository at this point in the history
  • Loading branch information
th-schwarz committed Oct 13, 2024
1 parent b46f6e1 commit 011b311
Showing 1 changed file with 81 additions and 1 deletion.
82 changes: 81 additions & 1 deletion docs/dyndrest-configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,89 @@ Below all default settings are listed.


[source,yaml]
// include is disabled on github
// 2024-10
----
## server settings
server:
address: 127.0.0.1
port: 8081
forward-headers-strategy: NATIVE
servlet:
context-path: /
shutdown: graceful
## management
management:
endpoints:
enabled-by-default: false
web:
base-path: /manage
endpoint:
health:
enabled: false
## dyndrest config
dyndrest:
greeting-enabled: true
host-validation-enabled: true
# http status code for the case at least one IP has changed, e.g. 201
update-ip-changed-status: 200
update-log-page-enabled: false
update-log-page-size: 30
update-log-date-pattern: yyyy-MM-dd HH:mm:ss
# database config, credentials should be set at the individual properties
database:
backup:
enabled: false
path: ./backup
restore:
enabled: false
path: ./restore
dump-file: dump.sql
include::https://github.com/th-schwarz/DynDRest/raw/refs/heads/develop/src/main/resources/application.yml[]
## disable springdoc endpoints and swagger-ui by default
springdoc:
api-docs:
enabled: false
swagger-ui:
enabled: false
## configuration for the domain robot sdk
domainrobot:
default-ttl: 60
# connection properties
autodns:
context: 4
url: https://api.autodns.com/v1
# custom headers
custom-header:
X-Domainrobot-WS: NONE
## import of the individual configuration settings
spring:
config:
import: optional:file:./dyndrest.yml
## database related properties
# the datasource
datasource:
url: jdbc:h2:file:./dyndrest
driverClassName: org.h2.Driver
liquibase:
change-log: classpath:/db/changelog/db.changelog-master.yml
jpa:
show-sql: true
database-platform: org.hibernate.dialect.H2Dialect
hibernate:
ddl-auto: none
h2:
console:
enabled: false
path: /h2
----

Expand Down

0 comments on commit 011b311

Please sign in to comment.