mediaDrop/config.example.json
Nicolas 6b6b67a31c
Some checks failed
Publier l'image Docker / test (push) Failing after 13s
Publier l'image Docker / publish (push) Has been skipped
revert
2026-09-19 15:46:09 +02:00

37 lines
1,002 B
JSON

{
"$schema": "./config.schema.json",
"port": 3000,
"host": "0.0.0.0",
"publicUrl": "http://localhost:3000",
"targets": [
{
"name": "photos",
"label": "Photos",
"dir": "./uploads/photos",
"allowedMimeTypes": ["image/*"]
},
{
"name": "videos",
"label": "Vidéos",
"dir": "./uploads/videos",
"allowDirectories": true,
"allowedMimeTypes": ["video/*"]
},
{ "name": "divers", "label": "Divers", "dir": "./uploads/divers" }
],
"maxFileSizeMb": 512,
"logLevel": "info",
"chunkPoolSize": 30,
"allowedMimeTypes": ["image/jpeg", "image/png", "image/webp", "video/mp4", "audio/mpeg"],
"webhooks": [],
"session": {
"key": "REMPLACER_PAR_32_OCTETS_BASE64_openssl_rand_base64_32",
"maxAgeHours": 12
},
"oidc": {
"issuer": "https://auth.exemple.fr/realms/mon-realm",
"clientId": "mediadrop",
"clientSecret": "REMPLACER_PAR_LE_SECRET_DU_CLIENT",
"scopes": ["openid", "profile", "email"]
}
}