Files
Backend/src/main/resources/application.yml

63 lines
1.1 KiB
YAML
Raw Normal View History

2024-04-06 04:10:15 +01:00
server:
address: 0.0.0.0
2024-04-06 06:21:30 +01:00
port: 80
2024-04-10 09:51:31 +01:00
servlet:
context-path: /
2024-04-10 07:43:13 +01:00
# Spring Configuration
spring:
2024-04-14 09:34:10 +01:00
# Don't include null properties in JSON
jackson:
default-property-inclusion: non_null
2024-04-10 07:43:13 +01:00
data:
# Redis - This is used for caching
redis:
2024-04-14 09:34:10 +01:00
host: "127.0.0.1"
2024-04-10 07:43:13 +01:00
port: 6379
2024-04-14 09:34:10 +01:00
database: 1
2024-04-10 07:43:13 +01:00
auth: "" # Leave blank for no auth
2024-04-18 14:03:52 +01:00
# MongoDB - This is used for general data storage
2024-04-18 13:31:22 +01:00
mongodb:
uri: mongodb://localhost:27017
2024-04-18 15:47:05 +01:00
database: test
port: 27017
2024-04-18 13:31:22 +01:00
2024-04-21 18:50:57 +01:00
# Sentry Configuration
sentry:
dsn: ""
2024-04-19 22:26:17 +01:00
# The URL of the API
public-url: http://localhost
2024-04-21 23:27:44 +01:00
# MaxMind Configuration
# This is used for IP Geolocation
maxmind:
license: ""
2024-04-19 22:26:17 +01:00
# InfluxDB Configuration
influx:
url: http://localhost
token: token
org: org
bucket: bucket
2024-04-14 09:34:10 +01:00
management:
2024-04-19 22:26:17 +01:00
# Disable all actuator endpoints
2024-04-14 09:34:10 +01:00
endpoints:
web:
exposure:
exclude:
- "*"
2024-04-19 22:26:17 +01:00
# Disable default metrics
2024-04-14 09:34:10 +01:00
influx:
metrics:
export:
enabled: false
2024-04-19 22:26:17 +01:00
# Set the embedded MongoDB version
2024-04-18 15:47:05 +01:00
de:
flapdoodle:
mongodb:
embedded:
2024-04-19 22:26:17 +01:00
version: 7.0.8