To make changing the gunicorn configuration more easily let's move configuration values from systemd service to separate configuration file. The file will live in /etc/mailman3/gunicorn.conf.py.
67 lines
1.8 KiB
Text
67 lines
1.8 KiB
Text
---
|
|
# common items for the releng-* boxes
|
|
deployment_type: prod
|
|
ipa_client_shell_groups:
|
|
- sysadmin-tools
|
|
ipa_client_sudo_groups:
|
|
- sysadmin-tools
|
|
ipa_host_group: mailman
|
|
ipa_host_group_desc: Mailing list services
|
|
lvm_size: 950000
|
|
# Used by the mailman role
|
|
mailman3_db_server: db01.iad2.fedoraproject.org
|
|
mailman3_domains:
|
|
- lists.fedoraproject.org
|
|
- lists.fedorahosted.org
|
|
- lists.pagure.io
|
|
mailman3_login:
|
|
facebook:
|
|
display_name: Facebook
|
|
provider: facebook
|
|
github:
|
|
display_name: GitHub
|
|
provider: github
|
|
gitlab:
|
|
display_name: GitLab
|
|
provider: gitlab
|
|
google:
|
|
display_name: Google
|
|
provider: google
|
|
stackexchange:
|
|
display_name: StackExchange
|
|
provider: stackexchange
|
|
twitter:
|
|
display_name: Twitter
|
|
provider: twitter
|
|
fedora:
|
|
display_name: Fedora
|
|
provider: fedora
|
|
max_mem_size: 32768
|
|
mem_size: 32768
|
|
nagios_Check_Services:
|
|
nrpe: true
|
|
swap: false
|
|
nrpe_check_postfix_queue_crit: 200
|
|
# by default, the number of emails in queue before we whine
|
|
nrpe_check_postfix_queue_warn: 100
|
|
nrpe_procs_crit: 500
|
|
# Number of processes for nagios
|
|
nrpe_procs_warn: 300
|
|
num_cpus: 4
|
|
# for systems that do not match the above - specify the same parameter in
|
|
# the host_vars/$hostname file
|
|
|
|
# Postfix main.cf
|
|
postfix_group: mailman
|
|
primary_auth_source: ipa
|
|
tcp_ports: [25, 80, 443]
|
|
|
|
# mailman role variables
|
|
mailman3_rest_api_username: "{{ mailman_rest_api_user }}"
|
|
mailman3_rest_api_password: "{{ mailman_rest_api_pass }}"
|
|
mailman3_mailman_db_pass: "{{ mailman_mm_db_pass }}"
|
|
mailman3_hyperkitty_admin_db_pass: "{{ mailman_hk_admin_db_pass }}"
|
|
mailman3_hyperkitty_db_pass: "{{ mailman_hk_db_pass }}"
|
|
mailman3_hyperkitty_cookie_key: "{{ mailman_hk_cookie_key }}"
|
|
mailman3_hyperkitty_archiver_key: "{{ mailman_hk_archiver_key }}"
|
|
mailman3_smtp_port: 587
|