File tree Expand file tree Collapse file tree 3 files changed +70
-0
lines changed
Expand file tree Collapse file tree 3 files changed +70
-0
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1+ .env
Original file line number Diff line number Diff line change 1+ # MAILU
2+
3+ Documentação do Mailu
4+
5+ [ https://mailu.io/ ] ( https://mailu.io/ )
6+
7+ ## Usage
8+
9+ Ajustar o endpoint do traefik no arquivo docker-compose.yml
10+
11+ ``` yaml
12+ labels :
13+ - " traefik.enable=true"
14+ - " traefik.http.routers.mail.rule=Host(`mail.seudominio.com`)"
15+ - " traefik.http.routers.mail.entrypoints=websecure"
16+ - " traefik.http.services.mail.loadbalancer.server.port=80"
17+ - " traefik.docker.network=production"
18+ ` ` `
19+
20+ Crie o arquivo .env.
21+
22+ ` ` ` bash
23+ cp .env.example .env
24+ ```
25+
26+ ``` dotenv
27+ # Basic configuration
28+ MAILU_VERSION=1.9
29+ ROOT=/
30+ DOMAIN=seudominio.com
31+ HOSTNAMES=mail.seudominio.com
32+ TLS_FLAVOR=letsencrypt
33+
34+ # Authentication
35+ AUTH_RATELIMIT=10/minute
36+ ADMIN=admin
37+ PASSWORD=senha_segura
38+
39+ # Network
40+ WEBMAIL=roundcube
41+ REDIS_HOST=redis
42+ REDIS_PASSWORD=suaSenhaSeguraAqui
43+ ANTISPAM=none
44+
45+ # Traefik? Use isso para não expor 80/443 diretamente
46+ # Uncomment if using traefik
47+ # FORWARDED_ALLOW_IPS=*
48+
49+ # Optional DKIM
50+ DKIM_SELECTOR=mail
51+ ```
52+
53+ ## Comands
54+
55+ ``` bash
56+ docker compose build
57+ ```
58+
59+ ``` bash
60+ docker compose up -d
61+ ```
62+
63+ ``` bash
64+ docker compose down
65+ ```
66+
67+ ``` bash
68+ docker compose rm
69+ ```
You can’t perform that action at this time.
0 commit comments