Adjusted variables and docker-compose file to account for multitenancy setups.

This commit is contained in:
Joschka Seydell 2020-11-30 13:37:10 -08:00
parent 56a7002f33
commit 401a937b4e
3 changed files with 24 additions and 16 deletions

View file

@ -2,7 +2,11 @@
# defaults file for jotbe.cryptpad-docker
cryptpad_install_user: '{{ ansible_user }}' # This user must be present on the host
cryptpad_install_path: '/home/{{ cryptpad_install_user }}'
cryptpad_multitenant_label:
cryptpad_http_address: 127.0.0.1
cryptpad_exposed_port: 3000
cryptpad_http_unsafe_origin_url: https://{{ cryptpad_virtual_host }}
cryptpad_http_safe_origin_url: https://{{ cryptpad_safe_virtual_host }}
cryptpad_block_daily_check: no
cryptpad_block_daily_check: no
# Internal variables
cryptpad_multitenant_postfix: "{{ '_' + cryptpad_multitenant_label if (cryptpad_multitenant_label) else '' }}"