Skip to content

Commit

Permalink
Merge branch 'main' into add-demo-etherpad
Browse files Browse the repository at this point in the history
  • Loading branch information
baszoetekouw committed Feb 9, 2024
2 parents 1454d7b + 48194a5 commit b607d7e
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions environments/ci/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ mail:
domain: "{{base_domain}}"
admin_name: "Root User"
admin_address: "root@{{base_domain}}"
ticket_address: "root@{{base_domain}}"
debug_address: "root@{{base_domain}}"

org:
Expand Down
1 change: 1 addition & 0 deletions environments/docker/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ mail:
- "{{iprange.mgnt}}"
domain: "{{base_domain}}"
admin_address: "root@{{base_domain}}"
ticket_address: "root@{{base_domain}}"
admin_name: "Root User"
debug_address: "root@{{base_domain}}"

Expand Down
1 change: 1 addition & 0 deletions environments/vm/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ mail:
domain: "{{base_domain}}"
admin_address: "root@{{base_domain}}"
admin_name: "Root User"
ticket_address: "root@{{base_domain}}"
debug_address: "root@{{base_domain}}"

org:
Expand Down
1 change: 1 addition & 0 deletions roles/docker_sbs/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ sbs_exceptions_mail: "root@localhost"

sbs_support_email: "sram-support@localhost"
sbs_admin_email: "sram-beheer@localhost"
sbs_ticket_email: "sram-support@surf.nl"
sbs_eduteams_email: "eduteams@localhost"

sbs_wiki_link: "https://www.example.org/wiki"
Expand Down
1 change: 1 addition & 0 deletions roles/docker_sbs/templates/config.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ mail:
suppress_sending_mails: False
info_email: {{ sbs_support_email }}
beheer_email: {{ sbs_admin_email }}
ticket_email: {{ sbs_ticket_email }}
eduteams_email: {{ sbs_eduteams_email }}
# Do we mail a summary of new Organizations and Services to the beheer_email?
audit_trail_notifications_enabled: {{ sbs_audit_trail_notifications_enabled }}
Expand Down
3 changes: 3 additions & 0 deletions roles/sbs/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ sbs_mail_port: "{{ mail.relay_port }}"
sbs_file_owner: "root"
sbs_group: "sram-sbs"

sbs_backend_timeout: 30

sbs_session_lifetime: 1440
sbs_secret_key_suffix: ""

Expand All @@ -46,6 +48,7 @@ sbs_exceptions_mail: "root@localhost"

sbs_support_email: "sram-support@localhost"
sbs_admin_email: "sram-beheer@localhost"
sbs_ticket_email: "sram-support@surf.nl"
sbs_eduteams_email: "eduteams@localhost"

sbs_wiki_link: "https://www.example.org/wiki"
Expand Down
1 change: 1 addition & 0 deletions roles/sbs/templates/config.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ mail:
suppress_sending_mails: False
info_email: {{ sbs_support_email }}
beheer_email: {{ sbs_admin_email }}
ticket_email: {{ sbs_ticket_email }}
eduteams_email: {{ sbs_eduteams_email }}
# Do we mail a summary of new Organizations and Services to the beheer_email?
audit_trail_notifications_enabled: {{ sbs_audit_trail_notifications_enabled }}
Expand Down
2 changes: 1 addition & 1 deletion roles/sbs/templates/sbs.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Environment="PROFILE=log_to_stdout"
Environment="REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt"

Type=notify
ExecStart={{sbs_env_dir}}/bin/gunicorn --worker-class eventlet --workers {{sbs_num_workers}} --bind 127.0.0.1:8080 server.__main__:app
ExecStart={{sbs_env_dir}}/bin/gunicorn --worker-class eventlet --workers {{sbs_num_workers}} --timeout {{sbs_backend_timeout}} --bind 127.0.0.1:8080 server.__main__:app

Restart=on-failure
RestartSec=10
Expand Down

0 comments on commit b607d7e

Please sign in to comment.