# vim: ft=yaml.ansible # code: language=ansible --- apps_data_root: "{{ data_fs }}/apps" apps_base_domain: "{{ base_domain }}" apps_local_domain: local.{{ apps_base_domain }} apps_shared_docker_network: apps_network apps_postfix_docker_network: postfix_network apps_tor_docker_network: tor_network apps_vars: caddy: backup: false sender: false extra_tasks: true docker_ipv4: 172.17.2.48 version: 2.7.6-alpine nginx: backup: false sender: false extra_tasks: true docker_ipv4: 172.17.2.32 version: 1.25.3-alpine-slim postfix: backup: true sender: false extra_tasks: false hostname: smtp.{{ apps_base_domain }} version: latest-alpine ipfs: backup: false sender: false extra_tasks: true domain: ipfs.{{ apps_local_domain }} gateway_domain: ipfs-gateway.{{ apps_base_domain }} port: 5001 gateway_port: 8080 version: v0.25.0 monerod: backup: false sender: false extra_tasks: true domain: xmr.{{ apps_local_domain }} port: 18089 version: latest nextcloud: backup: true sender: true extra_tasks: true domain: cloud.{{ apps_base_domain }} port: 80 version: 28-apache redis_version: 7-alpine searxng: backup: false sender: false extra_tasks: true domain: search.{{ apps_base_domain }} port: 8080 version: latest redis_version: 7-alpine snowflake: backup: false sender: false extra_tasks: false version: latest tor: backup: false sender: false extra_tasks: false version: latest website: backup: false sender: false extra_tasks: false domain: samsapti.dev onion: mldhltdackluvnqso7vk2azcg3ghjxbpw4im6alubymqkonb4kppqcqd.onion port: 80 version: latest restic: backup: false sender: false extra_tasks: false version: '1.7.1' watchtower: backup: false sender: false extra_tasks: false version: '1.7.1' apps_include: "{{ apps_vars | dict2items | map(attribute='key') | list }}" apps_backup: "{{ apps_vars | dict2items | selectattr('value.backup', 'true') | map(attribute='key') | list | intersect(apps_include) }}" apps_proxied: "{{ apps_vars | dict2items | selectattr('value.domain', 'defined') | map(attribute='key') | list | intersect(apps_include) }}" apps_torified: "{{ apps_vars | dict2items | selectattr('value.onion', 'defined') | map(attribute='key') | list | intersect(apps_include) }}" apps_senders: "{{ apps_vars | dict2items | selectattr('key', 'in', apps_include) | selectattr('value.sender', 'true') | map(attribute='value.domain') | list }}"