-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
54 lines (48 loc) · 1.13 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
services:
dovecot:
image: thehelpfulidiot/dovecot:latest
container_name: dovecot
restart: always
ports:
- "993:993"
- "143:143"
volumes:
- /path/to/ssl:/ssl
- /path/to/mail:/mail # same as mbsync
- /path/to/logs:/var/log/dovecot
environment:
- email_username=bob
- email_password=odenkirk
- PUID=1000
- disable_plaintext_auth=no
- ssl_cert=cert.pem
- ssl_key=key.pem
- ssl=required
- server_address=imap.home.local
- dh_pem=yes
mbsync:
image: thehelpfulidiot/mbsync:latest
container_name: mbsync
restart: always
volumes:
- /path/to/mail:/mail # same as dovecot
environment:
- host_name=server
- port=port
- remote_username=username
- remote_password=password
- ssltype=IMAPS
- sslversions=TLSv1.2
- mailbox_name=gmail
- PUID=1000
- cron=yes
solr:
image: thehelpfulidiot/solr:latest
container_name: solr
# ports:
# - "8983:8983"
volumes:
- solr-data:/var/solr/data/dovecot/data/index
restart: always
volumes:
solr-data: