Bump Nextcloud and remove monerod from staging

This commit is contained in:
Sam A. 2024-09-12 21:09:49 +02:00
parent ba53b23e2e
commit ec31683ebe
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
5 changed files with 36 additions and 14 deletions

View file

@ -1,18 +1,6 @@
# vim: ft=yaml.ansible # vim: ft=yaml.ansible
# code: language=ansible # code: language=ansible
--- ---
apps_include:
- nginx
- postfix
- ipfs
- jitsi
- joplin
- monerod
- nextcloud
- snowflake
- restic
- watchtower
jitsi_passwords: jitsi_passwords:
jicofo_auth: "{{ vault_jitsi_passwords.jicofo_auth }}" jicofo_auth: "{{ vault_jitsi_passwords.jicofo_auth }}"
jvb_auth: "{{ vault_jitsi_passwords.jvb_auth }}" jvb_auth: "{{ vault_jitsi_passwords.jvb_auth }}"

View file

@ -1,6 +1,18 @@
# vim: ft=yaml.ansible # vim: ft=yaml.ansible
# code: language=ansible # code: language=ansible
--- ---
apps_include:
- nginx
- postfix
- ipfs
- jitsi
- joplin
- monerod
- nextcloud
- snowflake
- restic
- watchtower
base_domain: sapti.me base_domain: sapti.me
internal_subnet: 10.2.16.0/24 internal_subnet: 10.2.16.0/24
postgresql_version: 14 postgresql_version: 14

View file

@ -1,6 +1,17 @@
# vim: ft=yaml.ansible # vim: ft=yaml.ansible
# code: language=ansible # code: language=ansible
--- ---
apps_include:
- nginx
- postfix
- ipfs
- jitsi
- joplin
- nextcloud
- snowflake
- restic
- watchtower
base_domain: staging.sapti.me base_domain: staging.sapti.me
internal_subnet: 10.2.19.0/24 internal_subnet: 10.2.19.0/24
postgresql_version: 14 postgresql_version: 14

View file

@ -79,7 +79,7 @@ apps_vars:
extra_tasks: true extra_tasks: true
domain: cloud.{{ apps_base_domain }} domain: cloud.{{ apps_base_domain }}
port: 80 port: 80
version: 29.0.4-apache version: 29.0.6-apache
redis_version: 7-alpine redis_version: 7-alpine
searxng: searxng:
@ -124,7 +124,8 @@ apps_vars:
extra_tasks: false extra_tasks: false
version: '1.7.1' version: '1.7.1'
apps_include: "{{ apps_vars | dict2items | map(attribute='key') | list }}" apps_exclude: []
apps_include: "{{ apps_vars | dict2items | map(attribute='key') | list | difference(apps_exclude) }}"
apps_backup: "{{ apps_vars | dict2items | selectattr('value.backup', 'true') | map(attribute='key') | list | intersect(apps_include) }}" 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_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_torified: "{{ apps_vars | dict2items | selectattr('value.onion', 'defined') | map(attribute='key') | list | intersect(apps_include) }}"

View file

@ -3,6 +3,7 @@
{% for env in proxy_environments %} {% for env in proxy_environments %}
# BEGIN Environment: {{ env }} # BEGIN Environment: {{ env }}
{% if 'nextcloud' in proxy_vars[env].app01.apps_include %}
cloud.{{ proxy_vars[env].app01.base_domain }} { cloud.{{ proxy_vars[env].app01.base_domain }} {
tls {{ tls_email }} { tls {{ tls_email }} {
@ -28,6 +29,8 @@ cloud.{{ proxy_vars[env].app01.base_domain }} {
respond 403 respond 403
{% endif %} {% endif %}
} }
{% endif %}
{% if 'ipfs' in proxy_vars[env].app01.apps_include %}
ipfs-gateway.{{ proxy_vars[env].app01.base_domain }}, ipfs-gateway.{{ proxy_vars[env].app01.base_domain }},
*.ipfs.ipfs-gateway.{{ proxy_vars[env].app01.base_domain }}, *.ipfs.ipfs-gateway.{{ proxy_vars[env].app01.base_domain }},
@ -76,6 +79,8 @@ ipfs.local.{{ proxy_vars[env].app01.base_domain }} {
respond 403 respond 403
} }
{% endif %}
{% if 'joplin' in proxy_vars[env].app01.apps_include %}
joplin.{{ proxy_vars[env].app01.base_domain }} { joplin.{{ proxy_vars[env].app01.base_domain }} {
tls {{ tls_email }} { tls {{ tls_email }} {
@ -101,6 +106,8 @@ joplin.{{ proxy_vars[env].app01.base_domain }} {
respond 403 respond 403
{% endif %} {% endif %}
} }
{% endif %}
{% if 'jitsi' in proxy_vars[env].app01.apps_include %}
meet.{{ proxy_vars[env].app01.base_domain }} { meet.{{ proxy_vars[env].app01.base_domain }} {
tls {{ tls_email }} { tls {{ tls_email }} {
@ -126,6 +133,8 @@ meet.{{ proxy_vars[env].app01.base_domain }} {
respond 403 respond 403
{% endif %} {% endif %}
} }
{% endif %}
{% if 'monerod' in proxy_vars[env].app01.apps_include %}
xmr.local.{{ proxy_vars[env].app01.base_domain }} { xmr.local.{{ proxy_vars[env].app01.base_domain }} {
tls {{ tls_email }} { tls {{ tls_email }} {
@ -147,6 +156,7 @@ xmr.local.{{ proxy_vars[env].app01.base_domain }} {
respond 403 respond 403
} }
{% endif %}
# END Environment: {{ env }} # END Environment: {{ env }}
{% endfor %} {% endfor %}