_WAL-G_ and _restic_ both generate a lot of HTTP traffic, which fills up the log volume pretty quickly. Let's reduce the number of days logs are kept on the file system. Logs are shipped to Loki anyway, so there's not much need to have them local very long.
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
md_name: backup5
|
|
raid_disks:
|
|
- '/dev/disk/by-id/usb-WD_My_Book_25ED_39414A324A364C52-0:0'
|
|
- '/dev/disk/by-id/usb-WD_My_Book_25ED_39414A32504E3852-0:0'
|
|
|
|
data_volumes:
|
|
- dev: /dev/disk/by-id/md-name-backup5
|
|
fstype: btrfs
|
|
mountpoint: /var/lib/minio
|
|
mountopts: subvol=minio
|
|
|
|
btrfs_subvolumes:
|
|
- name: minio
|
|
device: /dev/disk/by-id/md-name-backup5
|
|
|
|
minio_domain: s3.backups.pyrocufflink.blue
|
|
minio_console_domain: minio.backups.pyrocufflink.blue
|
|
minio_host_network: true
|
|
minio_address: '127.0.0.1:{{ minio_port }}'
|
|
minio_console_address: '127.0.0.1:{{ minio_console_port }}'
|
|
minio_browser_redirect_url: https://{{ minio_console_domain }}/
|
|
minio_allow_outside: false
|
|
minio_cert_domains:
|
|
- '{{ minio_console_domain }}'
|
|
- '{{ minio_domain }}'
|
|
- '*.{{ minio_domain }}'
|
|
minio_cert_acme_email: '{{ ansible_hostname }}@pyrocufflink.net'
|
|
minio_cert_acme_server: https://ca.pyrocufflink.blue/acme/acme/directory
|
|
|
|
nginx_ssl_certificate: /etc/letsencrypt/live/{{ minio_cert_main_domain }}/fullchain.pem
|
|
nginx_ssl_certificate_key: /etc/letsencrypt/live/{{ minio_cert_main_domain }}/privkey.pem
|
|
nginx_keep_num_logs: 3
|