Skip to content
Snippets Groups Projects
config.sample.toml 673 B
Newer Older
[log]
level = 1

[database]
connectionURL = "postgres://postgres@localhost:5432/postgres?sslmode=disable"
objectBucket = "public"

[http]
listenAddress = "localhost:8080"
maximumRequestSize =  100000000 # 100MB (1000 * 1000 * 100)

[polr]
resultURL = "https://awau.moe/"

[pomf]
maxFilesPerUpload = 3
Dean's avatar
Dean committed

[files]
tempLocation = "/var/data/buckets/_temp"
Dean's avatar
Dean committed
storageLocation = "/var/data/buckets/data"
quarantineLocation = "/var/data/buckets/_quarantine"
[fileWebhook]
# URL will receive POST with JSON body containing only a `sha256_hash` key for each NEW file
enable = false
url = "http://localhost:3100/scan"

[ratelimiter]
enable = true
redisURL = "redis://localhost:6379/0"