lab-ansible/roles/apps/defaults/main.yml

123 lines
2.9 KiB
YAML
Raw Normal View History

2023-10-28 23:00:05 +00:00
# vim: ft=yaml.ansible
2023-10-29 19:46:52 +00:00
# code: language=ansible
2023-10-28 23:00:05 +00:00
---
2023-11-13 20:17:17 +00:00
apps_data_root: "{{ data_fs }}/apps"
2024-02-04 17:03:15 +00:00
apps_base_domain: "{{ base_domain }}"
2023-11-05 17:27:49 +00:00
apps_local_domain: local.{{ apps_base_domain }}
apps_shared_docker_network: apps_network
apps_postfix_docker_network: postfix_network
2024-02-10 19:03:04 +00:00
apps_tor_docker_network: tor_network
2023-10-28 23:00:05 +00:00
2023-10-29 19:46:52 +00:00
apps_vars:
2024-02-04 17:03:15 +00:00
caddy:
backup: false
sender: false
extra_tasks: true
docker_ipv4: 172.17.2.48
version: 2.7.6-alpine
2023-11-08 21:30:41 +00:00
nginx:
backup: false
2023-11-11 16:19:29 +00:00
sender: false
2023-11-08 21:30:41 +00:00
extra_tasks: true
2023-11-12 22:16:53 +00:00
docker_ipv4: 172.17.2.32
2024-03-03 17:27:05 +00:00
version: 1.25.4-alpine-slim
2023-11-08 21:30:41 +00:00
2023-10-28 23:00:05 +00:00
postfix:
2023-11-05 17:27:49 +00:00
backup: true
2023-11-11 14:09:35 +00:00
sender: false
2023-11-05 17:27:49 +00:00
extra_tasks: false
2023-11-11 16:19:29 +00:00
hostname: smtp.{{ apps_base_domain }}
2023-10-28 23:00:05 +00:00
version: latest-alpine
ipfs:
2023-11-05 17:27:49 +00:00
backup: false
2023-11-11 14:09:35 +00:00
sender: false
extra_tasks: true
2023-11-11 16:19:29 +00:00
domain: ipfs.{{ apps_local_domain }}
gateway_domain: ipfs-gateway.{{ apps_base_domain }}
2024-02-10 19:03:04 +00:00
port: 5001
gateway_port: 8080
2024-03-03 17:27:05 +00:00
version: v0.26.0
2023-10-28 23:00:05 +00:00
2024-02-10 21:36:48 +00:00
jitsi:
2024-03-01 21:36:18 +00:00
backup: true
2024-02-10 21:36:48 +00:00
sender: false
extra_tasks: true
domain: meet.{{ apps_base_domain }}
port: 80
version: stable
2024-03-02 21:36:05 +00:00
joplin:
backup: true
2024-03-02 22:25:45 +00:00
sender: true
2024-03-02 21:36:05 +00:00
extra_tasks: true
domain: joplin.{{ apps_base_domain }}
port: 22300
version: 2.14.2-beta
2023-10-28 23:00:05 +00:00
monerod:
2023-11-05 17:27:49 +00:00
backup: false
2023-11-11 14:09:35 +00:00
sender: false
2023-12-25 20:49:17 +00:00
extra_tasks: true
2023-11-11 16:19:29 +00:00
domain: xmr.{{ apps_local_domain }}
2024-02-10 19:03:04 +00:00
port: 18089
2023-10-28 23:00:05 +00:00
version: latest
nextcloud:
2023-11-05 17:27:49 +00:00
backup: true
2023-11-11 14:09:35 +00:00
sender: true
extra_tasks: true
2023-11-11 16:19:29 +00:00
domain: cloud.{{ apps_base_domain }}
2024-02-10 19:03:04 +00:00
port: 80
2023-12-29 18:11:33 +00:00
version: 28-apache
2023-10-28 23:00:05 +00:00
redis_version: 7-alpine
2024-02-04 17:03:15 +00:00
searxng:
backup: false
sender: false
extra_tasks: true
domain: search.{{ apps_base_domain }}
2024-02-10 19:03:04 +00:00
port: 8080
2024-02-04 17:03:15 +00:00
version: latest
redis_version: 7-alpine
2023-10-28 23:00:05 +00:00
snowflake:
2023-11-05 17:27:49 +00:00
backup: false
2023-11-11 14:09:35 +00:00
sender: false
extra_tasks: false
2023-10-28 23:00:05 +00:00
version: latest
2024-02-10 17:23:33 +00:00
tor:
backup: false
sender: false
extra_tasks: false
version: latest
website:
backup: false
sender: false
extra_tasks: false
domain: samsapti.dev
onion: mldhltdackluvnqso7vk2azcg3ghjxbpw4im6alubymqkonb4kppqcqd.onion
2024-02-10 19:03:04 +00:00
port: 80
2024-02-10 17:23:33 +00:00
version: latest
2023-10-28 23:00:05 +00:00
restic:
2023-11-05 17:27:49 +00:00
backup: false
2023-11-11 14:09:35 +00:00
sender: false
extra_tasks: false
2024-03-01 21:34:27 +00:00
version: '1.7.2'
2023-10-28 23:00:05 +00:00
watchtower:
2023-11-05 17:27:49 +00:00
backup: false
2023-11-11 14:09:35 +00:00
sender: false
extra_tasks: false
2023-11-13 20:17:17 +00:00
version: '1.7.1'
2023-10-28 23:00:05 +00:00
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) }}"
2023-11-08 21:30:41 +00:00
apps_proxied: "{{ apps_vars | dict2items | selectattr('value.domain', 'defined') | map(attribute='key') | list | intersect(apps_include) }}"
2024-02-10 19:03:04 +00:00
apps_torified: "{{ apps_vars | dict2items | selectattr('value.onion', 'defined') | map(attribute='key') | list | intersect(apps_include) }}"
2024-01-28 20:31:34 +00:00
apps_senders: "{{ apps_vars | dict2items | selectattr('key', 'in', apps_include) | selectattr('value.sender', 'true') | map(attribute='value.domain') | list }}"