Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ As you can see we tell the container the ports we want to expose, and on which p

That's it! You can visit now the IP of your Docker Machine using HTTPS, or try the Admin Console with HTTPS and port 7071.

## Docker Compose
You can run it with docker compose. First of all, copy `env.example` into file `.env`, change it's values such as `PASSWORD` and `HOSTNAME`, and then run:
```bash
docker-compose up -d
```

## Contribute to the Project
If you like to contribute to the project, you are free to do so, just fork this repo and submit your changes.

Expand Down
1 change: 1 addition & 0 deletions docker/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.env
24 changes: 24 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: "3"
services:
mail-server:
image: jorgedlcruz/zimbra
hostname: ${HOSTNAME}
environment:
PASSWORD: ${PASSWORD}
ports:
- 25:25
- 80:80
- 465:465
- 587:587
- 110:110
- 143:143
- 993:993
- 995:995
- 443:443
- 8080:8080
- 8443:8443
- 7071:7071
- 9071:9071
dns:
- 127.0.0.1
- 8.8.8.8
2 changes: 2 additions & 0 deletions docker/env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PASSWORD=Zimbra2017
HOSTNAME=zimbra-docker.zimbra.io