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

66 lines
1.6 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-10-29 19:46:52 +00:00
apps_base_domain: "example.com"
apps_local_domain: "local.{{ apps_base_domain }}"
apps_data_root: /apps
apps_docker_network: apps_network
2023-10-28 23:00:05 +00:00
2023-10-29 19:46:52 +00:00
apps_vars:
2023-10-28 23:00:05 +00:00
postfix:
2023-10-29 19:46:52 +00:00
domain: smtp.{{ apps_base_domain }}
volume: "{{ apps_data_root }}/postfix"
extra_tasks: true
2023-10-28 23:00:05 +00:00
version: latest-alpine
emby:
2023-10-29 19:46:52 +00:00
domain: watch.{{ apps_base_domain }}
volume: "{{ apps_data_root }}/emby"
extra_tasks: true
2023-10-28 23:00:05 +00:00
version: latest
ipfs:
2023-10-29 19:46:52 +00:00
domain: ipfs.{{ apps_local_domain }}
gateway_domain: ipfs-gateway.{{ apps_base_domain }}
volume: "{{ apps_data_root }}/ipfs"
extra_tasks: true
2023-10-28 23:00:05 +00:00
version: v0.19.2 # https://github.com/ipfs/kubo/issues/9901
monerod:
2023-10-29 19:46:52 +00:00
domain: xmr.{{ apps_base_domain }}
volume: "{{ apps_data_root }}/monerod"
extra_tasks: false
2023-10-28 23:00:05 +00:00
version: latest
nextcloud:
2023-10-29 19:46:52 +00:00
domain: cloud.{{ apps_base_domain }}
volume: "{{ apps_data_root }}/nextcloud"
extra_tasks: true
2023-10-28 23:00:05 +00:00
version: 27-apache
postgres_version: 14-alpine
redis_version: 7-alpine
snowflake:
extra_tasks: false
2023-10-28 23:00:05 +00:00
version: latest
restic:
repo: /restic
extra_tasks: false
2023-10-28 23:00:05 +00:00
version: '1.7'
watchtower:
extra_tasks: false
2023-10-28 23:00:05 +00:00
version: '1.5.3'
apps_include: "{{ apps_vars | dict2items | map(attribute='key') | list }}"
2023-10-28 23:00:05 +00:00
2023-10-29 19:46:52 +00:00
apps_restic_volumes:
2023-10-28 23:00:05 +00:00
- "/var/run/docker.sock:/var/run/docker.sock:rw"
2023-10-29 19:46:52 +00:00
- "{{ apps_vars.postfix.volume }}:/mnt/volumes/postfix:ro"
- "{{ apps_vars.emby.volume }}:/mnt/volumes/emby:ro"
- "{{ apps_vars.nextcloud.volume }}:/mnt/volumes/nextcloud:ro"
2023-10-28 23:00:05 +00:00
2023-10-29 19:46:52 +00:00
apps_sender_domains:
- "{{ apps_vars.nextcloud.domain }}"