diff --git a/application.yml b/application.yml new file mode 100644 index 0000000..95e2b09 --- /dev/null +++ b/application.yml @@ -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 \ No newline at end of file