stock-bot/apps/wcag-ada/config/config/default.json
2025-06-28 11:11:34 -04:00

117 lines
No EOL
1.8 KiB
JSON

{
"appName": "wcag-ada",
"environment": "default",
"log": {
"level": "info",
"format": "json",
"pretty": false
},
"database": {
"postgres": {
"host": "localhost",
"port": 5432,
"database": "wcag_ada",
"connectionLimit": 10
},
"redis": {
"host": "localhost",
"port": 6379,
"db": 0
}
},
"scanner": {
"concurrency": 2,
"timeout": 120000,
"pageLoadTimeout": 30000,
"headless": true,
"blockResources": true,
"viewport": {
"width": 1280,
"height": 720,
"deviceScaleFactor": 1
}
},
"worker": {
"enabled": true,
"concurrency": 2,
"queueName": "accessibility-scans",
"redis": {
"host": "localhost",
"port": 6379,
"db": 2
}
},
"features": {
"screenshots": {
"enabled": true,
"quality": 80
},
"customRules": {
"enabled": true
},
"reports": {
"pdf": {
"enabled": true
}
}
},
"providers": {
"storage": {
"type": "local",
"local": {
"basePath": "/tmp/wcag-ada"
}
},
"email": {
"enabled": true,
"provider": "smtp"
},
"auth": {
"jwt": {
"expiresIn": "7d"
}
}
},
"services": {
"api": {
"name": "wcag-api",
"port": 3001,
"cors": {
"enabled": true,
"origin": "*"
},
"rateLimit": {
"enabled": true,
"windowMs": 900000,
"max": 100
}
},
"dashboard": {
"name": "wcag-dashboard",
"port": 3000,
"apiUrl": "http://localhost:3001"
},
"worker": {
"name": "wcag-worker",
"port": 3002
}
},
"compliance": {
"defaultLevel": {
"standard": "WCAG21",
"level": "AA"
}
},
"subscriptions": {
"enabled": true
}
}