maubot: prepare for prod creation
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
parent
e9880dd50e
commit
b0b87b42a9
2 changed files with 5 additions and 2 deletions
|
@ -12,7 +12,7 @@ spec:
|
||||||
source:
|
source:
|
||||||
dockerfile: |-
|
dockerfile: |-
|
||||||
FROM fedora:38
|
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
|
RUN pip install maubot[encryption] python-slugify
|
||||||
WORKDIR /maubot
|
WORKDIR /maubot
|
||||||
ENV KRB5_CONFIG=/etc/ipa/krb5.conf
|
ENV KRB5_CONFIG=/etc/ipa/krb5.conf
|
||||||
|
|
|
@ -14,7 +14,6 @@ plugin_directories:
|
||||||
trash: delete
|
trash: delete
|
||||||
|
|
||||||
plugin_databases:
|
plugin_databases:
|
||||||
#sqlite: /maubot/plugins
|
|
||||||
postgres: default
|
postgres: default
|
||||||
postgres_max_conns_per_plugin: 3
|
postgres_max_conns_per_plugin: 3
|
||||||
postgres_opts: {}
|
postgres_opts: {}
|
||||||
|
@ -35,7 +34,11 @@ homeservers:
|
||||||
|
|
||||||
admins:
|
admins:
|
||||||
root: ""
|
root: ""
|
||||||
|
{% if env == 'staging' %}
|
||||||
{{ maubot_stg_admin_user }}: "{{ maubot_stg_admin_password }}"
|
{{ maubot_stg_admin_user }}: "{{ maubot_stg_admin_password }}"
|
||||||
|
{% else %}
|
||||||
|
{{ maubot_prod_admin_user }}: "{{ maubot_prod_admin_password }}"
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
api_features:
|
api_features:
|
||||||
login: true
|
login: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue