maubot: prepare for prod creation

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lercho 2023-09-13 08:35:45 +10:00
parent e9880dd50e
commit b0b87b42a9
2 changed files with 5 additions and 2 deletions

View file

@ -12,7 +12,7 @@ spec:
source:
dockerfile: |-
FROM fedora:38
RUN dnf -y install python3-pip fasjson-client python3-jinja2 fedora-messaging && dnf -y clean all
RUN dnf -y install python3-pip fasjson-client python3-jinja2 fedora-messaging python3-httpx && dnf -y clean all
RUN pip install maubot[encryption] python-slugify
WORKDIR /maubot
ENV KRB5_CONFIG=/etc/ipa/krb5.conf

View file

@ -14,7 +14,6 @@ plugin_directories:
trash: delete
plugin_databases:
#sqlite: /maubot/plugins
postgres: default
postgres_max_conns_per_plugin: 3
postgres_opts: {}
@ -35,7 +34,11 @@ homeservers:
admins:
root: ""
{% if env == 'staging' %}
{{ maubot_stg_admin_user }}: "{{ maubot_stg_admin_password }}"
{% else %}
{{ maubot_prod_admin_user }}: "{{ maubot_prod_admin_password }}"
{% endif %}
api_features:
login: true