Remove explicit svc.name
This commit is contained in:
parent
09e886c712
commit
dbb3075c82
67 changed files with 36 additions and 87 deletions
|
@ -19,7 +19,7 @@ compose_file_networks:
|
||||||
default:
|
default:
|
||||||
apps:
|
apps:
|
||||||
aliases:
|
aliases:
|
||||||
- "{{ svc.name }}"
|
- "{{ role_name }}"
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
apps:
|
apps:
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
{% elif svc.redirect|default(false) %}
|
{% elif svc.redirect|default(false) %}
|
||||||
redir "{{ svc.redirect }}"
|
redir "{{ svc.redirect }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
reverse_proxy {{ svc.docker_host|default(svc.name) }}:{{ svc.port }}
|
reverse_proxy {{ svc.docker_host|default(role_name) }}:{{ svc.port }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
}
|
}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ NAME_svc }}"
|
svc: "{{ NAME_svc }}"
|
||||||
env: "{{ NAME_env }}"
|
env: "{{ NAME_env }}"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
NAME_svc:
|
NAME_svc:
|
||||||
domain: NAME.serguzim.me
|
domain: NAME.serguzim.me
|
||||||
name: NAME
|
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
NAME_env:
|
NAME_env:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ acme_dns_svc }}"
|
svc: "{{ acme_dns_svc }}"
|
||||||
env: "{{ acme_dns_env }}"
|
env: "{{ acme_dns_env }}"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
acme_dns_svc:
|
acme_dns_svc:
|
||||||
domain: "{{ acme_dns.host }}"
|
domain: "{{ acme_dns.host }}"
|
||||||
name: acme-dns
|
|
||||||
port: 80
|
port: 80
|
||||||
nsadmin: "{{ admin_email | regex_replace('@', '.') }}"
|
nsadmin: "{{ admin_email | regex_replace('@', '.') }}"
|
||||||
records:
|
records:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ authentik_svc }}"
|
svc: "{{ authentik_svc }}"
|
||||||
env: "{{ authentik_env }}"
|
env: "{{ authentik_env }}"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
authentik_svc:
|
authentik_svc:
|
||||||
domain: auth.serguzim.me
|
domain: auth.serguzim.me
|
||||||
name: authentik
|
|
||||||
port: 9000
|
port: 9000
|
||||||
image_tag: 2024.8
|
image_tag: 2024.8
|
||||||
db:
|
db:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
yml: "{{ backup_yml }}"
|
yml: "{{ backup_yml }}"
|
||||||
block:
|
block:
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
backup_svc:
|
|
||||||
name: backup
|
|
||||||
|
|
||||||
backup_list: "{{ all_services | my_service_attributes(inventory_hostname, 'backup') }}"
|
backup_list: "{{ all_services | my_service_attributes(inventory_hostname, 'backup') }}"
|
||||||
backup_list_all: "{{ all_services | my_service_attributes('', 'backup') }}"
|
backup_list_all: "{{ all_services | my_service_attributes('', 'backup') }}"
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,8 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ caddy_svc }}"
|
|
||||||
env: "{{ caddy_env }}"
|
env: "{{ caddy_env }}"
|
||||||
compose: "{{ caddy_compose }}"
|
compose: "{{ caddy_compose }}"
|
||||||
block:
|
block:
|
||||||
|
|
|
@ -12,9 +12,6 @@ caddy_ports_default:
|
||||||
caddy_ports_extra: "{{ all_services | my_service_attributes(inventory_hostname, 'ports') }}"
|
caddy_ports_extra: "{{ all_services | my_service_attributes(inventory_hostname, 'ports') }}"
|
||||||
caddy_ports: "{{ caddy_ports_default | union(caddy_ports_extra) }}"
|
caddy_ports: "{{ caddy_ports_default | union(caddy_ports_extra) }}"
|
||||||
|
|
||||||
caddy_svc:
|
|
||||||
name: caddy
|
|
||||||
|
|
||||||
caddy_env:
|
caddy_env:
|
||||||
CADDY_ADMIN: 0.0.0.0:2019
|
CADDY_ADMIN: 0.0.0.0:2019
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
---
|
---
|
||||||
extra_services_svc:
|
extra_services_svc:
|
||||||
name: extra_services
|
|
||||||
extra_svcs: "{{ vault_extra_services }}"
|
extra_svcs: "{{ vault_extra_services }}"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ faas_svc }}"
|
svc: "{{ faas_svc }}"
|
||||||
block:
|
block:
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
faas_svc:
|
faas_svc:
|
||||||
name: faas
|
|
||||||
domain: faas.serguzim.me
|
domain: faas.serguzim.me
|
||||||
docker_host: host.docker.internal
|
docker_host: host.docker.internal
|
||||||
port: 8080
|
port: 8080
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ forgejo_svc }}"
|
svc: "{{ forgejo_svc }}"
|
||||||
env: "{{ forgejo_env }}"
|
env: "{{ forgejo_env }}"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
forgejo_svc:
|
forgejo_svc:
|
||||||
domain: git.serguzim.me
|
domain: git.serguzim.me
|
||||||
name: forgejo
|
|
||||||
port: 3000
|
port: 3000
|
||||||
caddy_extra: |
|
caddy_extra: |
|
||||||
import analytics
|
import analytics
|
||||||
|
|
|
@ -2,9 +2,8 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ forgejo_runner_svc }}"
|
|
||||||
env: "{{ forgejo_runner_env }}"
|
env: "{{ forgejo_runner_env }}"
|
||||||
compose: "{{ forgejo_runner_compose }}"
|
compose: "{{ forgejo_runner_compose }}"
|
||||||
block:
|
block:
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
---
|
---
|
||||||
forgejo_runner_svc:
|
|
||||||
name: forgejo-runner
|
|
||||||
|
|
||||||
forgejo_runner_env:
|
forgejo_runner_env:
|
||||||
FORGEJO_INSTANCE_URL: https://git.serguzim.me/
|
FORGEJO_INSTANCE_URL: https://git.serguzim.me/
|
||||||
FORGEJO_RUNNER_REGISTRATION_TOKEN:
|
FORGEJO_RUNNER_REGISTRATION_TOKEN:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ gatus_svc }}"
|
svc: "{{ gatus_svc }}"
|
||||||
yml: "{{ gatus_yml }}"
|
yml: "{{ gatus_yml }}"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
gatus_svc:
|
gatus_svc:
|
||||||
domain: status.serguzim.me
|
domain: status.serguzim.me
|
||||||
name: gatus
|
|
||||||
port: 8080
|
port: 8080
|
||||||
|
|
||||||
gatus_external_endpoints_backups: "{{ vault_hosts | vault_hosts_backup_to_gatus() }}"
|
gatus_external_endpoints_backups: "{{ vault_hosts | vault_hosts_backup_to_gatus() }}"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ healthcheck_svc }}"
|
svc: "{{ healthcheck_svc }}"
|
||||||
env: "{{ healthcheck_env }}"
|
env: "{{ healthcheck_env }}"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
healthcheck_svc:
|
healthcheck_svc:
|
||||||
name: healthcheck
|
|
||||||
checks:
|
checks:
|
||||||
- mail
|
- mail
|
||||||
- matrix
|
- matrix
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ homebox_svc }}"
|
svc: "{{ homebox_svc }}"
|
||||||
env: "{{ homebox_env }}"
|
env: "{{ homebox_env }}"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
homebox_svc:
|
homebox_svc:
|
||||||
domain: inventory.serguzim.me
|
domain: inventory.serguzim.me
|
||||||
name: homebox
|
|
||||||
port: 7745
|
port: 7745
|
||||||
|
|
||||||
homebox_env:
|
homebox_env:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ immich_svc }}"
|
svc: "{{ immich_svc }}"
|
||||||
env: "{{ immich_env }}"
|
env: "{{ immich_env }}"
|
||||||
|
|
|
@ -6,7 +6,6 @@ immich_db_pass: "{{ vault_immich.db.pass }}"
|
||||||
|
|
||||||
immich_svc:
|
immich_svc:
|
||||||
domain: gallery.serguzim.me
|
domain: gallery.serguzim.me
|
||||||
name: immich
|
|
||||||
port: 3001
|
port: 3001
|
||||||
version: release
|
version: release
|
||||||
db:
|
db:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ influxdb_svc }}"
|
svc: "{{ influxdb_svc }}"
|
||||||
env: "{{ influxdb_env }}"
|
env: "{{ influxdb_env }}"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
influxdb_svc:
|
influxdb_svc:
|
||||||
domain: tick.serguzim.me
|
domain: tick.serguzim.me
|
||||||
name: influxdb
|
|
||||||
port: 8086
|
port: 8086
|
||||||
data_dir: /var/lib/influxdb2
|
data_dir: /var/lib/influxdb2
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ jellyfin_svc }}"
|
svc: "{{ jellyfin_svc }}"
|
||||||
env: "{{ jellyfin_env }}"
|
env: "{{ jellyfin_env }}"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
jellyfin_svc:
|
jellyfin_svc:
|
||||||
domain: media.serguzim.me
|
domain: media.serguzim.me
|
||||||
name: jellyfin
|
|
||||||
port: 8096
|
port: 8096
|
||||||
db:
|
db:
|
||||||
host: "{{ postgres.host }}"
|
host: "{{ postgres.host }}"
|
||||||
|
|
|
@ -2,9 +2,8 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ lego_svc }}"
|
|
||||||
env: "{{ lego_env }}"
|
env: "{{ lego_env }}"
|
||||||
json: "{{ vault_acmedns_registered | acmedns_to_lego }}"
|
json: "{{ vault_acmedns_registered | acmedns_to_lego }}"
|
||||||
compose: "{{ lego_compose }}"
|
compose: "{{ lego_compose }}"
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
---
|
---
|
||||||
lego_host_certificates: "{{ all_services | my_service_attributes(inventory_hostname, 'certificates') }}"
|
lego_host_certificates: "{{ all_services | my_service_attributes(inventory_hostname, 'certificates') }}"
|
||||||
|
|
||||||
lego_svc:
|
|
||||||
name: lego
|
|
||||||
|
|
||||||
lego_env:
|
lego_env:
|
||||||
ACME_DNS_API_BASE: https://{{ acme_dns.host }}
|
ACME_DNS_API_BASE: https://{{ acme_dns.host }}
|
||||||
ACME_DNS_STORAGE_PATH: /config/acme-dns-accounts.json
|
ACME_DNS_STORAGE_PATH: /config/acme-dns-accounts.json
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ linkwarden_svc }}"
|
svc: "{{ linkwarden_svc }}"
|
||||||
env: "{{ linkwarden_env }}"
|
env: "{{ linkwarden_env }}"
|
||||||
|
|
|
@ -11,7 +11,6 @@ linkwarden_s3_secretkey: "{{ opentofu.scaleway_data.linkwarden.secret_key }}"
|
||||||
|
|
||||||
linkwarden_svc:
|
linkwarden_svc:
|
||||||
domain: bookmarks.serguzim.me
|
domain: bookmarks.serguzim.me
|
||||||
name: linkwarden
|
|
||||||
port: 3000
|
port: 3000
|
||||||
|
|
||||||
linkwarden_env:
|
linkwarden_env:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ mailcowdockerized_svc }}"
|
svc: "{{ mailcowdockerized_svc }}"
|
||||||
block:
|
block:
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
mailcowdockerized_svc:
|
mailcowdockerized_svc:
|
||||||
name: mailcowdockerized
|
|
||||||
domain: mail.serguzim.me
|
domain: mail.serguzim.me
|
||||||
docker_host: host.docker.internal
|
docker_host: host.docker.internal
|
||||||
port: 3004
|
port: 3004
|
||||||
|
|
|
@ -2,9 +2,8 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ minecraft_2_svc }}"
|
|
||||||
env: "{{ minecraft_2_env }}"
|
env: "{{ minecraft_2_env }}"
|
||||||
compose: "{{ minecraft_2_compose }}"
|
compose: "{{ minecraft_2_compose }}"
|
||||||
block:
|
block:
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
---
|
---
|
||||||
minecraft_2_svc:
|
|
||||||
name: minecraft-2
|
|
||||||
|
|
||||||
minecraft_2_env:
|
minecraft_2_env:
|
||||||
ALLOW_FLIGHT: true
|
ALLOW_FLIGHT: true
|
||||||
ALLOW_NETHER: true
|
ALLOW_NETHER: true
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ minio_svc }}"
|
svc: "{{ minio_svc }}"
|
||||||
env: "{{ minio_env }}"
|
env: "{{ minio_env }}"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
minio_svc:
|
minio_svc:
|
||||||
domain: s3.serguzim.me
|
domain: s3.serguzim.me
|
||||||
name: minio
|
|
||||||
port: 9000
|
port: 9000
|
||||||
caddy_extra: |
|
caddy_extra: |
|
||||||
@nocache {
|
@nocache {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ ntfy_svc }}"
|
svc: "{{ ntfy_svc }}"
|
||||||
compose: "{{ ntfy_compose }}"
|
compose: "{{ ntfy_compose }}"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
ntfy_svc:
|
ntfy_svc:
|
||||||
name: ntfy
|
|
||||||
domain: push.serguzim.me
|
domain: push.serguzim.me
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ reitanlage_oranienburg_svc }}"
|
svc: "{{ reitanlage_oranienburg_svc }}"
|
||||||
compose: "{{ reitanlage_oranienburg_compose }}"
|
compose: "{{ reitanlage_oranienburg_compose }}"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
reitanlage_oranienburg_svc:
|
reitanlage_oranienburg_svc:
|
||||||
name: reitanlage-oranienburg
|
|
||||||
domain: reitanlage-oranienburg.de
|
domain: reitanlage-oranienburg.de
|
||||||
www_domain: true
|
www_domain: true
|
||||||
port: 80
|
port: 80
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ shlink_svc }}"
|
svc: "{{ shlink_svc }}"
|
||||||
env: "{{ shlink_env }}"
|
env: "{{ shlink_env }}"
|
||||||
|
|
|
@ -3,7 +3,6 @@ shlink_svc:
|
||||||
domain: msrg.cc
|
domain: msrg.cc
|
||||||
additional_domains:
|
additional_domains:
|
||||||
- "emgauwa.app"
|
- "emgauwa.app"
|
||||||
name: shlink
|
|
||||||
port: 8080
|
port: 8080
|
||||||
|
|
||||||
shlink_env:
|
shlink_env:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ synapse_svc }}"
|
svc: "{{ synapse_svc }}"
|
||||||
env: "{{ synapse_env }}"
|
env: "{{ synapse_env }}"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
synapse_svc:
|
synapse_svc:
|
||||||
name: synapse
|
|
||||||
domain: matrix.serguzim.me
|
domain: matrix.serguzim.me
|
||||||
docker_host: synapse-admin
|
docker_host: synapse-admin
|
||||||
port: 80
|
port: 80
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ tandoor_svc }}"
|
svc: "{{ tandoor_svc }}"
|
||||||
env: "{{ tandoor_env }}"
|
env: "{{ tandoor_env }}"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
tandoor_svc:
|
tandoor_svc:
|
||||||
domain: recipes.serguzim.me
|
domain: recipes.serguzim.me
|
||||||
name: tandoor
|
|
||||||
port: 80
|
port: 80
|
||||||
db:
|
db:
|
||||||
host: "{{ postgres.host }}"
|
host: "{{ postgres.host }}"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ teamspeak_fallback_svc }}"
|
svc: "{{ teamspeak_fallback_svc }}"
|
||||||
compose: "{{ teamspeak_fallback_compose }}"
|
compose: "{{ teamspeak_fallback_compose }}"
|
||||||
|
|
|
@ -8,7 +8,6 @@ teamspeak_fallback_user: 9987
|
||||||
teamspeak_fallback_group: 9987
|
teamspeak_fallback_group: 9987
|
||||||
|
|
||||||
teamspeak_fallback_svc:
|
teamspeak_fallback_svc:
|
||||||
name: teamspeak-fallback
|
|
||||||
domain: ts.serguzim.me
|
domain: ts.serguzim.me
|
||||||
additional_domains:
|
additional_domains:
|
||||||
- hook.serguzim.me
|
- hook.serguzim.me
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ telegraf_svc }}"
|
svc: "{{ telegraf_svc }}"
|
||||||
env: "{{ telegraf_env }}"
|
env: "{{ telegraf_env }}"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
telegraf_svc:
|
telegraf_svc:
|
||||||
name: telegraf
|
|
||||||
influxdb:
|
influxdb:
|
||||||
url: https://tick.serguzim.me
|
url: https://tick.serguzim.me
|
||||||
token: "{{ vault_telegraf.influxdb_token }}"
|
token: "{{ vault_telegraf.influxdb_token }}"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ tinytinyrss_svc }}"
|
svc: "{{ tinytinyrss_svc }}"
|
||||||
env: "{{ tinytinyrss_env }}"
|
env: "{{ tinytinyrss_env }}"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
tinytinyrss_svc:
|
tinytinyrss_svc:
|
||||||
domain: rss.serguzim.me
|
domain: rss.serguzim.me
|
||||||
name: tinytinyrss
|
|
||||||
port: 80
|
port: 80
|
||||||
db:
|
db:
|
||||||
host: "{{ postgres.host }}"
|
host: "{{ postgres.host }}"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ umami_svc }}"
|
svc: "{{ umami_svc }}"
|
||||||
env: "{{ umami_env }}"
|
env: "{{ umami_env }}"
|
||||||
|
|
|
@ -10,7 +10,6 @@ umami_docker_image: docker.umami.dev/umami-software/umami:postgresql-latest
|
||||||
|
|
||||||
umami_svc:
|
umami_svc:
|
||||||
domain: analytics.serguzim.me
|
domain: analytics.serguzim.me
|
||||||
name: umami
|
|
||||||
port: 3000
|
port: 3000
|
||||||
|
|
||||||
umami_env:
|
umami_env:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ vikunja_svc }}"
|
svc: "{{ vikunja_svc }}"
|
||||||
yml: "{{ vikunja_yml }}"
|
yml: "{{ vikunja_yml }}"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
vikunja_svc:
|
vikunja_svc:
|
||||||
domain: todo.serguzim.me
|
domain: todo.serguzim.me
|
||||||
name: vikunja
|
|
||||||
port: 3456
|
port: 3456
|
||||||
db:
|
db:
|
||||||
host: "{{ postgres.host }}"
|
host: "{{ postgres.host }}"
|
||||||
|
|
|
@ -2,9 +2,8 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ watchtower_svc }}"
|
|
||||||
env: "{{ watchtower_env }}"
|
env: "{{ watchtower_env }}"
|
||||||
compose: "{{ watchtower_compose }}"
|
compose: "{{ watchtower_compose }}"
|
||||||
block:
|
block:
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
---
|
---
|
||||||
watchtower_svc:
|
|
||||||
name: watchtower
|
|
||||||
|
|
||||||
watchtower_env:
|
watchtower_env:
|
||||||
WATCHTOWER_LABEL_ENABLE: true
|
WATCHTOWER_LABEL_ENABLE: true
|
||||||
WATCHTOWER_CLEANUP: true
|
WATCHTOWER_CLEANUP: true
|
||||||
|
@ -11,11 +8,11 @@ watchtower_env:
|
||||||
# WATCHTOWER_NO_PULL: true
|
# WATCHTOWER_NO_PULL: true
|
||||||
|
|
||||||
WATCHTOWER_NOTIFICATIONS: email
|
WATCHTOWER_NOTIFICATIONS: email
|
||||||
WATCHTOWER_NOTIFICATION_EMAIL_FROM: "{{ svc.name }}@serguzim.me"
|
WATCHTOWER_NOTIFICATION_EMAIL_FROM: "watchtower@serguzim.me"
|
||||||
WATCHTOWER_NOTIFICATION_EMAIL_TO: "{{ admin_email }}"
|
WATCHTOWER_NOTIFICATION_EMAIL_TO: "{{ admin_email }}"
|
||||||
WATCHTOWER_NOTIFICATION_EMAIL_SERVER: "{{ mailer.host }}"
|
WATCHTOWER_NOTIFICATION_EMAIL_SERVER: "{{ mailer.host }}"
|
||||||
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: "{{ mailer.port }}"
|
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: "{{ mailer.port }}"
|
||||||
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER: "{{ svc.name }}@serguzim.me"
|
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER: "watchtower@serguzim.me"
|
||||||
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: "{{ vault_watchtower.mailer.pass }}"
|
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: "{{ vault_watchtower.mailer.pass }}"
|
||||||
WATCHTOWER_NOTIFICATION_EMAIL_DELAY: 5
|
WATCHTOWER_NOTIFICATION_EMAIL_DELAY: 5
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ wiki_js_svc }}"
|
svc: "{{ wiki_js_svc }}"
|
||||||
env: "{{ wiki_js_env }}"
|
env: "{{ wiki_js_env }}"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
wiki_js_svc:
|
wiki_js_svc:
|
||||||
domain: wiki.serguzim.me
|
domain: wiki.serguzim.me
|
||||||
name: wiki-js
|
|
||||||
port: 3000
|
port: 3000
|
||||||
caddy_extra: |
|
caddy_extra: |
|
||||||
import analytics
|
import analytics
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Set common facts
|
- name: Set common facts
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
- name: Deploy {{ role_name }}
|
||||||
vars:
|
vars:
|
||||||
svc: "{{ woodpecker_svc }}"
|
svc: "{{ woodpecker_svc }}"
|
||||||
env: "{{ woodpecker_env }}"
|
env: "{{ woodpecker_env }}"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
woodpecker_svc:
|
woodpecker_svc:
|
||||||
domain: ci.serguzim.me
|
domain: ci.serguzim.me
|
||||||
name: woodpecker
|
|
||||||
port: 8000
|
port: 8000
|
||||||
extra_svcs:
|
extra_svcs:
|
||||||
- domain: agents.ci.serguzim.me
|
- domain: agents.ci.serguzim.me
|
||||||
|
|
Loading…
Reference in a new issue