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

71 lines
1.7 KiB
YAML

# vim: ft=yaml.ansible
# code: language=ansible
---
apps_base_domain: "example.com"
apps_local_domain: "local.{{ apps_base_domain }}"
apps_data_root: /apps
apps_docker_network: apps_network
apps_vars:
postfix:
domain: smtp.{{ apps_base_domain }}
volume: "{{ apps_data_root }}/postfix"
version: latest-alpine
emby:
domain: watch.{{ apps_base_domain }}
volume: "{{ apps_data_root }}/emby"
version: latest
ipfs:
domain: ipfs.{{ apps_local_domain }}
gateway_domain: ipfs-gateway.{{ apps_base_domain }}
volume: "{{ apps_data_root }}/ipfs"
version: v0.19.2 # https://github.com/ipfs/kubo/issues/9901
monerod:
domain: xmr.{{ apps_base_domain }}
volume: "{{ apps_data_root }}/monerod"
version: latest
nextcloud:
domain: cloud.{{ apps_base_domain }}
volume: "{{ apps_data_root }}/nextcloud"
version: 27-apache
postgres_version: 14-alpine
redis_version: 7-alpine
snowflake:
version: latest
pihole:
domain: pi-hole.{{ apps_local_domain }}
volume: "{{ apps_data_root }}/pi-hole"
docker_ipv4: 172.18.3.2
version: '2023.05.2'
unbound_version: latest
restic:
repo: /restic
version: '1.7'
watchtower:
version: '1.5.3'
apps_include: [] # empty == all
apps_local_ipv4s:
- '192.168.1.0/24'
- '192.168.8.0/24'
apps_restic_volumes:
- "/var/run/docker.sock:/var/run/docker.sock:rw"
- "{{ apps_vars.caddy.volume }}:/mnt/volumes/caddy:ro"
- "{{ apps_vars.postfix.volume }}:/mnt/volumes/postfix:ro"
- "{{ apps_vars.emby.volume }}:/mnt/volumes/emby:ro"
- "{{ apps_vars.nextcloud.volume }}:/mnt/volumes/nextcloud:ro"
- "{{ apps_vars.pihole.volume }}:/mnt/volumes/pi-hole:ro"
apps_sender_domains:
- "{{ apps_vars.nextcloud.domain }}"