- /roles/snikket/defaults/main.yml - /roles/snikket/tasks/main.yml - /roles/snikket/handlers/main.yml - /roles/snikket/templates/nginx-custom.conf.j2 - /roles/snikket/templates/backup.sh.j2 - /roles/snikket/templates/docker-compose.yml.j2 - /roles/snikket/templates/snikket.conf.j2 - /group_vars/all.yml - /vault.yml
47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
---
|
|
# Snikket defaults
|
|
snikket_enabled: true
|
|
snikket_base_dir: "/mnt/snikket"
|
|
snikket_data_dir: "{{ snikket_base_dir }}/snikket_data"
|
|
snikket_nginx_custom_dir: "{{ snikket_base_dir }}/nginx-custom"
|
|
snikket_backup_dir: "/backup/snikket"
|
|
|
|
# Domain configuration
|
|
snikket_domain: "chat.zailon.ru"
|
|
snikket_admin_email: "zailon@bk.ru"
|
|
snikket_external_ip: "188.73.191.202"
|
|
|
|
# Network settings
|
|
snikket_http_port: 8080
|
|
snikket_https_port: 8443
|
|
snikket_xmpp_port: 5222
|
|
snikket_component_port: 5349
|
|
snikket_turn_port: 3478
|
|
snikket_turn_tls_port: 5349
|
|
|
|
# RTP media ports (ограниченный диапазон)
|
|
snikket_rtp_min_port: 50000
|
|
snikket_rtp_max_port: 50100
|
|
snikket_rtp_port_range: "{{ snikket_rtp_min_port }}-{{ snikket_rtp_max_port }}"
|
|
|
|
# SSL/ACME settings (NPM manages SSL)
|
|
snikket_enable_acme: false
|
|
snikket_disable_tls: true
|
|
snikket_trusted_proxy: "*"
|
|
|
|
# File upload settings
|
|
snikket_max_file_size: "500M"
|
|
snikket_file_cleanup_days: 30
|
|
|
|
# Docker settings
|
|
snikket_image_tag: "dev"
|
|
snikket_docker_restart_policy: "unless-stopped"
|
|
|
|
# Initial admin invite
|
|
snikket_create_initial_invite: false
|
|
snikket_initial_invite_group: "default"
|
|
snikket_initial_invite_expires: 86400
|
|
|
|
# Backup settings
|
|
snikket_backup_enabled: true
|
|
snikket_backup_retention_days: 30 |