Update install.md

This commit is contained in:
broedli 2017-03-02 21:34:23 +01:00 committed by GitHub
parent d242cf87a3
commit 493bc65e3c
1 changed files with 15 additions and 16 deletions

View File

@ -1,34 +1,33 @@
# Install mailcow # Install mailcow
1. You need Docker. 1. You need Docker.
Most systems can install Docker by running `wget -qO- https://get.docker.com/ | sh`.
Most systems can install Docker by running `wget -qO- https://get.docker.com/ | sh`.
2. You need Docker Compose 2. You need Docker Compose
Learn [how to install Docker Compose](https://docs.docker.com/compose/install/). Learn [how to install Docker Compose](https://docs.docker.com/compose/install/).
3. Clone the master branch of the repository 3. Clone the master branch of the repository
``` ```
git clone https://github.com/andryyy/mailcow-dockerized && cd mailcow-dockerized git clone https://github.com/andryyy/mailcow-dockerized && cd mailcow-dockerized
``` ```
4. Generate a configuration file. Use a FQDN (`host.domain.tld`) as hostname when asked. 4. Generate a configuration file. Use a FQDN (`host.domain.tld`) as hostname when asked.
``` ```
./generate_config.sh ./generate_config.sh
``` ```
5. Change configuration if you want or need to. 5. Change configuration if you want or need to.
``` ```
nano mailcow.conf nano mailcow.conf
``` ```
If you plan to use a reverse proxy, you can, for example, bind HTTPS to 127.0.0.1 on port 8443 and HTTP to 127.0.0.1 on port 8080. If you plan to use a reverse proxy, you can, for example, bind HTTPS to 127.0.0.1 on port 8443 and HTTP to 127.0.0.1 on port 8080.
6. Run the composer file. 6. Run the composer file.
``` ```
docker-compose up -d docker-compose up -d
``` ```
Done! Done!