This repository has been archived on 2024-06-10. You can view files and clone it, but cannot push or open issues or pull requests.
Docker/application.yml
2024-04-23 20:18:55 +00:00

34 lines
750 B
YAML

server:
address: 0.0.0.0
port: 3000
servlet:
context-path: /
tomcat:
# Limit the maximum POST size to 1MB
max-http-form-post-size: 1MB
# Spring Configuration
spring:
# Don't include null properties in JSON
jackson:
default-property-inclusion: non_null
data:
# MongoDB - This is used for general data storage
mongodb:
uri: mongodb://root:root@mongo:27017
database: test
port: 27017
# Paste Configuration
paste:
# The length of the ID for the paste
id-length: 12
# The limit of the paste size (in characters) - You can set it to "-1" to disable the limit
upload-size-limit: 400000
# Set the embedded MongoDB version
de:
flapdoodle:
mongodb:
embedded:
version: 7.0.8