generated from jCloud/repository-template
51 lines
1.5 KiB
Plaintext
51 lines
1.5 KiB
Plaintext
[server]
|
|
# The host to bind the socket. Default is '0.0.0.0'
|
|
# host=
|
|
|
|
# The port to listen. Default is 3000.
|
|
# port=
|
|
|
|
[docs]
|
|
# The path for the Swagger UI documentation. If an empty path is
|
|
# specified, no Swagger UI documentation will be available. Default is
|
|
# '/docs'.
|
|
# swagger=
|
|
|
|
# The path for the ReDoc documentation. If an empty path is specified,
|
|
# no ReDoc documentation will be available. Default is '/redoc'.
|
|
# redoc=
|
|
|
|
# The path for the Open API API specification. If an empty path is
|
|
# specified, no API specification will be available. Default is
|
|
# '/openapi.json'.
|
|
# Warning: If the API specification is not available, Swagger UI and
|
|
# ReDoc documentation may not work.
|
|
# openapi=
|
|
|
|
[logging]
|
|
# The target for logging. Possible values are `file` and `stdout`.
|
|
# Default is `stdout`. If the value is invalid, the default value is used
|
|
# instead if fail_strict is not true. If it is true and the value is
|
|
# invalid, it fails.
|
|
# logtarget=
|
|
|
|
# If one of 'true', 'yes', 't', or 'y', stdout is used as a fallback if
|
|
# the logging target is a file and the log file cannot be used for
|
|
# various reasons. Otherwise, the default value for the property
|
|
# logtarget is used as a fallback. Default is false.
|
|
# fail_strict=
|
|
|
|
# The file for the logs. Default is empty.
|
|
# logfile=
|
|
|
|
# The log level. Default is INFO.
|
|
# loglevel=
|
|
|
|
[gitea]
|
|
# Whether Gitea is enabled ('true', 'yes', 't', or 'y'). Default is
|
|
# false.
|
|
# enabled=
|
|
|
|
# The file for the Gitea webhook secret. Leave it empty to disable the
|
|
# secret (warning: very insecure).
|
|
# webhook_secret_file= |