You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.2 KiB
YAML

---
#domain: "lynx.localhost"
binary_architecture: "linux-amd64"
system_user: "{{ domain | regex_replace('[^A-Za-z0-9-]+', '-') }}"
service_name: "{{ domain }}.service"
user_directory: "{{ global_webservers_directory }}/{{ domain }}"
installation_directory: "{{ user_directory }}/bin"
binary_path: "{{ installation_directory }}/linx-server"
configuration_directory: "{{ user_directory }}/configuration"
configuration_file: "{{ configuration_directory }}/config.ini"
auth_codes_file: "{{ configuration_directory }}/auth_codes"
data_directory: "{{ user_directory }}/data"
files_directory: "{{ data_directory }}/files"
meta_directory: "{{ data_directory }}/meta"
# TODO Bind to socket path
bind_port: 12840
#!socket_directory: "{{ user_directory }}/socket"
#!socket_path: "{{ socket_directory }}/socket"
auth_code: "{{ lookup('password', 'credentials/' + inventory_hostname + '/' + domain + '/auth_code chars=digits,ascii_letters length=80') }}"
force_random_filenames: no
max_size: "{{ 4 * 1024 * 1024 * 1024 }}"
max_expiry: 0
site_name: "Linx {{ domain }}"
selif_path: "files"
client_additional_body_size: "{{ 16 * 1024 }}"
client_max_body_size: "{{ max_size + client_additional_body_size }}"
update_script_path: "{{ update_scripts_directory }}/{{ domain }}"