Исходный код вики Docker: Установка Mailcow
Версия 1.3 от Алексей Александрович Иванов на 2025/12/11 12:29
Последние авторы
| author | version | line-number | content |
|---|---|---|---|
| 1 | ===== Debian/Ubuntu:[[¶>>url:https://docs.mailcow.email/getstarted/install/#debianubuntu]] ===== | ||
| 2 | |||
| 3 | {{{1. apt update apt install -y git openssl curl gawk coreutils grep jq}}} | ||
| 4 | |||
| 5 | 2. apt update apt install docker-compose-plugin | ||
| 6 | |||
| 7 | == Installing mailcow[[¶>>url:https://docs.mailcow.email/getstarted/install/#installing-mailcow]] == | ||
| 8 | |||
| 9 | 1. ((( | ||
| 10 | Clone the repository: | ||
| 11 | |||
| 12 | {{{ | ||
| 13 | }}} | ||
| 14 | |||
| 15 | su umask 0022 cd /opt git clone https:~/~/github.com/mailcow/mailcow-dockerized cd mailcow-dockerized | ||
| 16 | ))) | ||
| 17 | 1. ((( | ||
| 18 | Generate the configuration file: | ||
| 19 | |||
| 20 | {{{ | ||
| 21 | }}} | ||
| 22 | |||
| 23 | ./generate_config.sh | ||
| 24 | ))) | ||
| 25 | 1. ((( | ||
| 26 | Adjust the configuration if necessary: | ||
| 27 | |||
| 28 | {{{ | ||
| 29 | }}} | ||
| 30 | |||
| 31 | nano mailcow.conf | ||
| 32 | ))) | ||
| 33 | |||
| 34 | ---- | ||
| 35 | |||
| 36 | == Starting mailcow[[¶>>url:https://docs.mailcow.email/getstarted/install/#starting-mailcow]] == | ||
| 37 | |||
| 38 | Download the images and start the containers: | ||
| 39 | |||
| 40 | |||
| 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]] | ||
| 42 | |||
| 43 | {{{ | ||
| 44 | }}} | ||
| 45 | |||
| 46 | docker compose pull docker compose up -d | ||
| 47 | |||
| 48 | |||
| 49 | |||
| 50 | Done! | ||
| 51 | |||
| 52 | You can now access **https:~/~/${MAILCOW_HOSTNAME}/admin** using the default credentials admin and the password moohoo. |