- /roles/grafana/tasks/main.yml - /roles/grafana/templates/docker-compose.yml.j2 - /roles/grafana/files/vmagent.yaml - /group_vars/all.yml
195 lines
6.2 KiB
YAML
195 lines
6.2 KiB
YAML
---
|
|
# Общие настройки для всех хостов
|
|
timezone: Asia/Yekaterinburg
|
|
system_locale: ru_RU.UTF-8
|
|
x11_display_host: "192.168.1.101"
|
|
|
|
proxmox_node: "Olimp"
|
|
admin_user: root
|
|
# Устанвливаем базовые пакеты
|
|
base_packages:
|
|
- curl
|
|
- wget
|
|
- gnupg
|
|
- ca-certificates
|
|
- software-properties-common
|
|
- tree
|
|
- htop
|
|
- nano
|
|
- git
|
|
- apt-transport-https
|
|
- net-tools
|
|
- dnsutils
|
|
- iputils-ping
|
|
- traceroute
|
|
- sudo
|
|
- mc
|
|
- iftop
|
|
- ntp
|
|
- pv
|
|
|
|
system_scripts: []
|
|
custom_directories:
|
|
- /opt/scripts
|
|
- /etc/apt/keyrings
|
|
|
|
# Удаляем мусорные пакеты везде
|
|
cleanup_packages:
|
|
- gparted
|
|
|
|
# ------------ gateway (192.168.1.201) ------------
|
|
npm_base_dir: "/opt/npm"
|
|
npm_data_dir: "/opt/npm/data"
|
|
npm_letsencrypt_dir: "/opt/npm/letsencrypt"
|
|
|
|
heimdall_base_dir: "/opt/heimdall"
|
|
heimdall_config_dir: "/opt/heimdall/config"
|
|
heimdall_port: "45131"
|
|
|
|
dashy_base_dir: "/opt/dashy"
|
|
dashy_config_dir: "{{ dashy_base_dir }}/config"
|
|
dashy_port: "45132"
|
|
dashy_domain: "start.zailon.ru"
|
|
|
|
# ------------ data (192.168.1.202) ------------
|
|
bookstack_base_dir: "/mnt/bookstack"
|
|
bookstack_config_dir: "/mnt/bookstack/config"
|
|
bookstack_uploads_dir: "/mnt/bookstack/uploads"
|
|
bookstack_db_dir: "/mnt/bookstack/db"
|
|
bookstack_port: "45133"
|
|
|
|
mealie_base_dir: "/mnt/mealie"
|
|
mealie_data_dir: "/mnt/mealie/data"
|
|
mealie_port: "45132"
|
|
mealie_db_type: "sqlite"
|
|
mealie_db_password: "{{ vault_mealie_db_password }}"
|
|
|
|
bitwarden_base_dir: "/mnt/bitwarden"
|
|
bitwarden_data_dir: "{{ bitwarden_base_dir }}/vw-data"
|
|
bitwarden_port: "45131"
|
|
bitwarden_admin_token: "{{ vault_bitwarden_admin_token }}"
|
|
bitwarden_websocket_enabled: true
|
|
bitwarden_signups_allowed: false
|
|
bitwarden_smtp_host: "smtp.mail.ru"
|
|
bitwarden_smtp_port: "465"
|
|
bitwarden_smtp_ssl: true
|
|
bitwarden_smtp_username: "zailon@bk.ru"
|
|
bitwarden_smtp_password: "{{ vault_bitwarden_smtp_password }}"
|
|
bitwarden_smtp_from: "zailon@bk.ru"
|
|
bitwarden_domain: "https://bw.zailon.ru"
|
|
|
|
# ------------ media (192.168.1.203) ------------
|
|
service_config_base: "/mnt/service"
|
|
|
|
jellyfin_base_dir: "{{ service_config_base }}/jellyfin"
|
|
jellyfin_config_dir: "{{ jellyfin_base_dir }}/config"
|
|
jellyfin_cache_dir: "{{ jellyfin_base_dir }}/cache"
|
|
jellyfin_logs_dir: "{{ jellyfin_base_dir }}/logs"
|
|
jellyfin_media_path: "/mnt/video"
|
|
jellyfin_port: "45131"
|
|
jellyfin_hw_acceleration: true
|
|
|
|
audiobookshelf_base_dir: "{{ service_config_base }}/audiobookshelf"
|
|
audiobookshelf_config_dir: "{{ audiobookshelf_base_dir }}/config"
|
|
audiobookshelf_db_dir: "{{ audiobookshelf_base_dir }}/db"
|
|
audiobookshelf_port: "45132"
|
|
|
|
ampache_base_dir: "{{ service_config_base }}/ampache"
|
|
ampache_config_dir: "{{ ampache_base_dir }}/config"
|
|
ampache_logs_dir: "{{ ampache_base_dir }}/logs"
|
|
ampache_mysql_dir: "{{ ampache_base_dir }}/mysql"
|
|
ampache_port: "45134"
|
|
|
|
calibre_base_dir: "{{ service_config_base }}/calibre"
|
|
calibre_library_dir: "/mnt/books"
|
|
calibre_config_dir: "{{ calibre_base_dir }}/config"
|
|
calibre_web_port: "45133"
|
|
calibre_web_db_path: "{{ calibre_config_dir }}/app.db"
|
|
calibre_web_enable_uploading: true
|
|
calibre_web_enable_conversion: true
|
|
calibre_web_enable_registration: false
|
|
calibre_web_enable_webdav: true
|
|
calibre_web_enable_opds: true
|
|
|
|
# ------------ photo (192.168.1.204) ------------
|
|
immich_base_dir: "/mnt/immich"
|
|
immich_port: "45131"
|
|
immich_db_username: "postgres"
|
|
immich_db_password: "{{ vault_immich_db_password }}"
|
|
immich_db_name: "immich"
|
|
immich_version: "release"
|
|
|
|
# ------------ talk (192.168.1.206) ------------
|
|
mumble_base_dir: "/mnt/mumble"
|
|
mumble_data_dir: "{{ mumble_base_dir }}/data"
|
|
mumble_port: "45131"
|
|
mumble_ice_port: "6502"
|
|
mumble_server_password: "{{ vault_mumble_server_password }}"
|
|
mumble_superuser_password: "{{ vault_mumble_superuser_password }}"
|
|
mumble_max_users: "100"
|
|
|
|
matrix_base_dir: "/mnt/matrix"
|
|
matrix_data_dir: "{{ matrix_base_dir }}/data"
|
|
matrix_config_dir: "{{ matrix_base_dir }}/config"
|
|
matrix_media_dir: "{{ matrix_base_dir }}/media"
|
|
matrix_postgres_dir: "{{ matrix_base_dir }}/postgres"
|
|
matrix_port: "45132"
|
|
matrix_domain: "matrix.zailon.ru"
|
|
matrix_server_name: "{{ matrix_domain }}"
|
|
matrix_registration_enabled: false
|
|
matrix_report_stats: "no"
|
|
matrix_postgres_user: "synapse"
|
|
matrix_postgres_password: "{{ vault_matrix_postgres_password }}"
|
|
matrix_postgres_db: "synapse"
|
|
matrix_synapse_secret: "{{ vault_matrix_synapse_secret }}"
|
|
matrix_macaroon_secret: "{{ vault_matrix_macaroon_secret }}"
|
|
matrix_form_secret: "{{ vault_matrix_form_secret }}"
|
|
|
|
# TeamSpeak
|
|
teamspeak_base_dir: "/mnt/teamspeak"
|
|
teamspeak_data_dir: "{{ teamspeak_base_dir }}/data"
|
|
teamspeak_logs_dir: "{{ teamspeak_base_dir }}/logs"
|
|
teamspeak_query_port: "10011"
|
|
teamspeak_voice_port: "9987"
|
|
teamspeak_file_port: "30033"
|
|
# ------------ games (192.168.1.208) ------------
|
|
|
|
# Minecraft
|
|
minecraft_base_dir: "/mnt/minecraft"
|
|
minecraft_data_dir: "{{ minecraft_base_dir }}/data"
|
|
minecraft_port: "25565"
|
|
minecraft_memory: "4G"
|
|
minecraft_version: "1.21.1"
|
|
minecraft_neoforge_version: "21.1.0"
|
|
minecraft_type: "NEOFORGE"
|
|
minecraft_eula: "true"
|
|
minecraft_motd: "Minecraft @ zailon.ru"
|
|
minecraft_online_mode: "true"
|
|
minecraft_mods:
|
|
- "https://mediafilez.forgecdn.net/files/7178/775/create-1.21.1-6.0.8.jar"
|
|
|
|
# ------------ manage (192.168.1.228) ------------
|
|
meshcentral_base_dir: "/opt/meshcentral"
|
|
meshcentral_data_dir: "/mnt/mesh/meshcentral-data"
|
|
meshcentral_files_dir: "/mnt/mesh/meshcentral-files"
|
|
meshcentral_backup_dir: "/mnt/mesh/meshcentral-backup"
|
|
meshcentral_port: "45131"
|
|
|
|
# Grafana
|
|
grafana_base_dir: /mnt/grafana
|
|
grafana_data_dir: "{{ grafana_base_dir }}/data" # Grafana DB, plugins, etc.
|
|
grafana_config_dir: "{{ grafana_base_dir }}/config" # provisioning (datasources, dashboards)
|
|
grafana_vm_data_dir: "{{ grafana_base_dir }}/victoriametrics" # VM data (TSDB)
|
|
grafana_vmagent_tmp_dir: "{{ grafana_base_dir }}/vmagent/tmp" # vmagent temp files
|
|
grafana_vmagent_config: "{{ grafana_base_dir }}/vmagent/vmagent.yaml"
|
|
|
|
grafana_port: 3000
|
|
grafana_admin_user: admin
|
|
grafana_admin_password: 13qeadZC
|
|
grafana_root_url: https://mon.zailon.ru
|
|
|
|
victoriametrics_retention_months: 2
|
|
victoriametrics_version: v1.101.0
|
|
grafana_version: 11.2.0
|
|
|