You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Kuba Orlik bedb791875 Update README. Make sure backup dir is entered 11 hours ago
defaults Initial commit 12 hours ago
handlers Add docker restarted handler 12 hours ago
meta Initial commit 12 hours ago
tasks Update README. Make sure backup dir is entered 11 hours ago
templates Initial commit 12 hours ago
README.md Update README. Make sure backup dir is entered 11 hours ago

README.md

- name: "Install Mailcow"
  hosts: ansible1
  tags: "mailcow"
  vars:
    mail_domain: "mail.kuba-orlik.name"
    mail_mailcow_port: "9001"
    nginx_acme_email: "kontakt@kuba-orlik.name"
  roles:
    - role: mailcow
      vars:
        mailcow_hostname_fqdn: "{{ mail_domain }}"
        mailcow_repo_dir: "/opt/mailcow-dockerized"
        mailcow_dockerized_commit: "586b3a2ed1c"
        mailcow_storage_dir: "/mnt/juice/mailcow"
        mailcow_local_http_port: "{{ mail_mailcow_port }}"
        mailcow_timezone: "Europe/Warsaw"
        mailcow_docker_subnet: "172.30.1"
    - role: "sealcode.nginx.proxies"
      tags:
        - mailcow
        - mailcow-nginx
      vars:
        nginx_proxies:
          - domain: "{{ mail_domain }}"
            site_name: "mailcow"
            upstream: "http://localhost:{{ mail_mailcow_port }}"
            max_upload_size: "2G"
            use_test_cert: false
          - domain: "autodiscover.kuba-orlik.name"
            site_name: "mailcow-autodiscover"
            upstream: "http://127.0.0.1:{{ mail_mailcow_port }}/autodiscover"

You can now access https://${MAILCOW_HOSTNAME}/admin using the default credentials admin and the password moohoo.