652185f380
Give more memory to the apps and less to postgres.
26 lines
666 B
YAML
26 lines
666 B
YAML
---
|
|
|
|
- name: setup matrix
|
|
hosts: matrix.archlinux.org
|
|
remote_user: root
|
|
roles:
|
|
- { role: common }
|
|
- { role: tools }
|
|
- { role: firewalld }
|
|
- { role: sshd }
|
|
- { role: root_ssh }
|
|
- { role: borg_client, tags: ["borg"] }
|
|
- { role: certbot }
|
|
- { role: nginx }
|
|
- role: postgres
|
|
postgres_shared_buffers: 256MB
|
|
postgres_work_mem: 64MB
|
|
postgres_maintenance_work_mem: 256MB
|
|
postgres_effective_cache_size: 4GB
|
|
postgres_jit: 'off'
|
|
- role: postfix
|
|
postfix_relayhost: "mail.archlinux.org"
|
|
- { role: matrix }
|
|
- { role: fail2ban }
|
|
- { role: prometheus_exporters }
|
|
- { role: promtail }
|