add new options for attachment limits
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-03-14 21:52:48 +01:00
parent 3174233c44
commit ef3ccd1a04
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,5 @@
---
bitwardenrs_version: latest
bitwardenrs_version: 1.13
bitwardenrs_service_directory: /var/lib/docker/services/bitwardenrs
bitwardenrs_container_name: bitwardenrs
@ -73,6 +73,9 @@ bitwardenrs_show_password_hint: True
bitwardenrs_authenticator_disable_time_drift: False
bitwardenrs_user_attachment_limit: 1024
bitwardenrs_org_attachment_limit: 1024
# @var bitwardenrs_smtp_host: $ "_unset_"
bitwardenrs_smtp_from: "bitwardenrs@localhost"
bitwardenrs_smtp_from_name: "Bitwarden RS"

View File

@ -26,6 +26,8 @@ services:
environment:
- BITWARDENRS_DOMAIN={{ bitwardenrs_base_url }}
- BITWARDENRS_DATABASE_URL=postgresql://{{ bitwardenrs_db_user }}:{{ bitwardenrs_db_password | urlencode }}@{{ bitwardenrs_db_server }}:{{ bitwardenrs_db_port }}/{{ bitwardenrs_db_name }}?sslmode={{ bitwardenrs_db_ssl_mode }}&sslrootcert={{ bitwardenrs_db_ssl_rootcert }}
- BITWARDENRS_USER_ATTACHMENT_LIMIT={{ bitwardenrs_user_attachment_limit }}
- BITWARDENRS_ORG_ATTACHMENT_LIMIT={{ bitwardenrs_org_attachment_limit }}
- BITWARDENRS_WEBSOCKET_ENABLED={{ bitwardenrs_websocket_enabled }}
{% if bitwardenrs_templates_folder is defined and bitwardenrs_templates_folder %}
- BITWARDENRS_TEMPLATES_FOLDER={{ bitwardenrs_templates_folder }}