Add application.yml

This commit is contained in:
Lee 2024-04-23 18:09:33 +00:00
parent a8c607b0a3
commit 51fd29ac93

30
application.yml Normal file
View File

@ -0,0 +1,30 @@
server:
address: 0.0.0.0
port: 3000
servlet:
context-path: /
# 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
# Set the embedded MongoDB version
de:
flapdoodle:
mongodb:
embedded:
version: 7.0.8