feat: enhance Ansible playbook and Nginx configuration with authentication and logrotate setup
- Added environment variables for project configuration in env.template. - Updated Ansible playbook to use environment variables for project settings and added tasks for monitoring authentication setup. - Enhanced Nginx configuration for Alertmanager and Prometheus with HTTP Basic Authentication. - Introduced logrotate configuration for managing log files and set up cron for daily execution. - Removed obsolete Uptime Kuma docker-compose file.
This commit is contained in:
24
infra/uptime-kuma/settings.json
Normal file
24
infra/uptime-kuma/settings.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"language": "ru",
|
||||
"theme": "light",
|
||||
"timezone": "Europe/Moscow",
|
||||
"dateLocale": "ru",
|
||||
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
||||
"timeFormat": "24",
|
||||
"weekStart": 1,
|
||||
"searchEngineIndex": true,
|
||||
"primaryBaseURL": "https://your-domain/status/",
|
||||
"public": true,
|
||||
"publicGroupList": true,
|
||||
"showTags": true,
|
||||
"showPoweredBy": false,
|
||||
"keepDataPeriodDays": 365,
|
||||
"retentionCheckInterval": 3600,
|
||||
"maxmindLicenseKey": "",
|
||||
"dnsCache": true,
|
||||
"dnsCacheTtl": 300,
|
||||
"trustProxy": true,
|
||||
"disableAuth": false,
|
||||
"defaultTimezone": "Europe/Moscow",
|
||||
"defaultLanguage": "ru"
|
||||
}
|
||||
Reference in New Issue
Block a user