Changes for page Docker: Установка Mailcow
Last modified by Алексей Александрович Иванов on 2025/12/11 13:34
From version 3.1
edited by Алексей Александрович Иванов
on 2025/12/11 13:31
on 2025/12/11 13:31
Change comment:
There is no comment for this version
To version 1.3
edited by Алексей Александрович Иванов
on 2025/12/11 12:29
on 2025/12/11 12:29
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,24 +4,23 @@ 4 4 5 5 2. apt update apt install docker-compose-plugin 6 6 7 -== Installing mailcow == 7 +== Installing mailcow[[¶>>url:https://docs.mailcow.email/getstarted/install/#installing-mailcow]] == 8 8 9 9 1. ((( 10 10 Clone the repository: 11 11 12 -{{{ su13 -}}} 12 +{{{ 13 + }}} 14 14 15 -umask 0022 16 - 17 -cd /opt 18 - 19 -git clone https:~/~/github.com/mailcow/mailcow-dockerized cd mailcow-dockerized 15 +su umask 0022 cd /opt git clone https:~/~/github.com/mailcow/mailcow-dockerized cd mailcow-dockerized 20 20 ))) 21 21 1. ((( 22 22 Generate the configuration file: 23 23 24 -{{{./generate_config.sh}}} 20 +{{{ 21 + }}} 22 + 23 +./generate_config.sh 25 25 ))) 26 26 1. ((( 27 27 Adjust the configuration if necessary: ... ... @@ -30,22 +30,24 @@ 30 30 }}} 31 31 32 32 nano mailcow.conf 33 - 34 - 35 35 ))) 36 36 34 +---- 35 + 37 37 == Starting mailcow[[¶>>url:https://docs.mailcow.email/getstarted/install/#starting-mailcow]] == 38 38 39 - dockercomposepulldocker composeup -d38 +Download the images and start the containers: 40 40 41 -You can now access **https:~/~/${MAILCOW_HOSTNAME}/admin** using the default credentials admin and the password moohoo. 42 42 41 +[[Docker Compose (Plugin)>>url:https://docs.mailcow.email/getstarted/install/#__tabbed_1_1]][[Docker Compose (Standalone)>>url:https://docs.mailcow.email/getstarted/install/#__tabbed_1_2]] 43 43 44 -Перенос почтового хранилища 43 +{{{ 44 + }}} 45 45 46 -cd /opt/mailcow-dockerized 47 -docker compose down 46 +docker compose pull docker compose up -d 48 48 49 -mkdir -p /mnt/vmail_data 50 50 51 -rsync -aHAX ~-~-info=progress2 /var/lib/docker/volumes/mailcowdockerized_vmail-vol-1/_data/ /mnt/vmail/vmail_data/ 49 + 50 +Done! 51 + 52 +You can now access **https:~/~/${MAILCOW_HOSTNAME}/admin** using the default credentials admin and the password moohoo.