-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathdocker-compose.yaml
48 lines (44 loc) · 1.37 KB
/
docker-compose.yaml
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
version: '3'
services:
roundcubedb:
image: mysql:5.7
container_name: roundcubedb
# restart: unless-stopped
volumes:
- ./db/mysql:/var/lib/mysql
# ports:
# - 34010:5432
# - 33006:3306
environment:
- MYSQL_ROOT_PASSWORD=roundcube-mysql-pw
- MYSQL_DATABASE=roundcubemail
roundcubemail:
image: roundcube/roundcubemail:latest
container_name: roundcubemail
# restart: unless-stopped
depends_on:
- roundcubedb
links:
- roundcubedb
volumes:
- .:/var/www/html/plugins/twofactor_gauthenticator
ports:
- 9001:80
environment:
- ROUNDCUBEMAIL_DB_TYPE=mysql
- ROUNDCUBEMAIL_DB_HOST=roundcubedb
- ROUNDCUBEMAIL_DB_PASSWORD=roundcube-mysql-pw
- ROUNDCUBEMAIL_SKIN=elastic
- ROUNDCUBEMAIL_DEFAULT_HOST=mail.EXAMPLE.com
- ROUNDCUBEMAIL_DEFAULT_PORT=143
- ROUNDCUBEMAIL_SMTP_SERVER=mail.EXAMPLE.com
- ROUNDCUBEMAIL_SMTP_PORT=587
- ROUNDCUBEMAIL_PLUGINS=twofactor_gauthenticator
adminer:
container_name: adminer
image: adminer
restart: always
ports:
- 8080:8080
environment:
ADMINER_DEFAULT_SERVER: roundcubedb