Last active
November 11, 2018 18:44
-
-
Save Knight1/1503c5c047db42780134564f1e27fe70 to your computer and use it in GitHub Desktop.
install mailcow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-init | |
#ONLY USE THIS FOR CLEAN INSTALL with cloud-init! | |
runcmd: | |
- curl -sSL https://get.docker.com/ | CHANNEL=stable sh | |
- systemctl enable docker.service | |
- systemctl start docker.service | |
- curl -L https://github.com/docker/compose/releases/download/$(curl -Ls https://www.servercow.de/docker-compose/latest.php)/docker-compose-$(uname -s)-$(uname -m) > /usr/local/bin/docker-compose | |
- chmod +x /usr/local/bin/docker-compose | |
- umask 0222 | |
- git clone https://github.com/mailcow/mailcow-dockerized /opt/mailcow-dockerized | |
- cd /opt/mailcow-dockerized && MAILCOW_HOSTNAME=development.mailcow ./generate_config.sh | |
- docker-compose pull | |
- docker-compose up -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment