Rename mailcow role to mailcowdockerized

This commit is contained in:
Tobias Reisinger 2024-10-13 19:05:58 +02:00
commit 89909cd6ae
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 7 additions and 7 deletions

View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
export MAILCOW_BACKUP_LOCATION="$1"
/opt/mailcow-dockerized/helper-scripts/backup_and_restore.sh backup all --delete-days 1

View file

@ -0,0 +1,10 @@
---
- name: Set common facts
ansible.builtin.import_tasks: tasks/set-default-facts.yml
- name: Deploy {{ svc.name }}
vars:
svc: "{{ mailcowdockerized_svc }}"
block:
- name: Import tasks to template the site for the reverse proxy
ansible.builtin.import_tasks: tasks/steps/template-site-config.yml

View file

@ -0,0 +1,7 @@
---
mailcowdockerized_svc:
name: mailcowdockerized
domain: mail.serguzim.me
docker_host: host.docker.internal
port: 3004
additional_domains: "{{ ['autodiscover', 'autoconfig'] | product(vault_mailcowdockerized.domains) | map('join', '.') }}"

View file

@ -240,15 +240,15 @@ services = {
s3 = true
},
mailcow = {
name = "mailcow"
mailcowdockerized = {
name = "mailcowdockerized"
host = "node003"
dns = [{
domain = "serguzim.me"
target = "mail"
}]
backup = [{
name = "mailcow"
name = "mailcowdockerized"
type = "hook"
}]
monitoring = {