-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
160 lines (148 loc) · 3.81 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
services:
mariadb:
image: mariadb:latest
restart: always
command: --innodb_buffer_pool_size=8G --innodb_log_file_size=2G --innodb_log_buffer_size=512M --innodb_file_per_table --key_buffer_size=256M --max_allowed_packet=64M --thread_stack=256K --thread_cache_size=32 --max_connections=8192 --query_cache_limit=2M --query_cache_size=32M --max_connect_errors=2048
environment:
- MARIADB_ROOT_PASSWORD=${DATABASE_ROOT_PASSWORD}
- MARIADB_DATABASE=${DATABASE_NAME}
- MARIADB_USER=${DATABASE_USER}
- MARIADB_PASSWORD=${DATABASE_PASSWORD}
volumes:
- mariadb-data:/var/lib/mysql
core:
image: kopano-core:latest
restart: always
depends_on:
mariadb
environment:
- KC_SERVER_mysql_host=mariadb
- KC_SERVER_mysql_database=${DATABASE_NAME}
- KC_SERVER_mysql_user=${DATABASE_USER}
- KC_SERVER_mysql_password=${DATABASE_PASSWORD}
env_file:
- kc_server.env
- kc_ldap.env
volumes:
- attachments:/var/lib/kopano/attachments/
- kopano-sockets:/var/run/kopano/
webapp:
image: kopano-webapp:latest
restart: always
depends_on:
core
environment:
- KC_WEBAPP_DEFAULT_SERVER="http://core:236/kopano"
env_file:
- kc_webapp.env
volumes:
- kopano-webapp-tmp:/var/lib/kopano-webapp/tmp
- kopano-webapp-sockets:/var/run/kopano/
webapp-frontend:
image: kopano-webapp-frontend:latest
restart: always
depends_on:
webapp
ports:
- "127.0.0.1:9001:80"
volumes:
- kopano-webapp-tmp:/var/lib/kopano-webapp/tmp
- kopano-webapp-sockets:/var/run/kopano/
search:
image: kopano-search:latest
restart: always
depends_on:
core
env_file:
- kc_search.env
volumes:
- kopano-sockets:/var/run/kopano/
- search-index:/var/lib/kopano/index/
spooler:
image: kopano-spooler:latest
restart: always
depends_on:
core
env_file:
- kc_spooler.env
volumes:
- kopano-sockets:/var/run/kopano/
dagent:
image: kopano-dagent:latest
restart: always
depends_on:
core
env_file:
- kc_dagent.env
ports:
- "2003:2003"
volumes:
- kopano-sockets:/var/run/kopano/
gateway:
image: kopano-gateway:latest
restart: always
environment:
- KC_GATEWAY_server_socket=http://core:236/kopano
depends_on:
core
env_file:
- kc_gateway.env
ports:
- "127.0.0.1:110:110"
- "127.0.0.1:143:143"
z-push:
image: kopano-z-push:latest
restart: always
depends_on:
core
environment:
- Z_PUSH_KOPANO_MAPI_SERVER="http://core:236/kopano"
env_file:
- kc_z-push.env
volumes:
- kopano-z-push-sockets:/var/run/kopano/
- kopano-z-push-state:/var/lib/z-push
- kopano-z-push-logs:/var/log/z-push
z-push-frontend:
image: kopano-z-push-frontend:latest
restart: always
depends_on:
z-push
ports:
- "127.0.0.1:9002:80"
volumes:
- kopano-z-push-sockets:/var/run/kopano/
- kopano-z-push-state:/var/lib/z-push
kdav:
image: kopano-kdav:latest
restart: always
depends_on:
core
environment:
- KC_KDAV_MAPI_SERVER="http://core:236/"
env_file:
- kc_kdav.env
volumes:
- kdav-sockets:/var/run/kopano/
- kopano-kdav-state:/var/lib/kopano/kdav/
kdav-frontend:
image: kopano-kdav-frontend:latest
restart: always
depends_on:
z-push
ports:
- "127.0.0.1:9004:80"
volumes:
- kdav-sockets:/var/run/kopano/
- kopano-kdav-state:/var/lib/kopano/kdav/
# ical:
# image: kopano-ical:latest
# restart: always
# environment:
# - KC_ICAL_server_socket=http://core:236/kopano
# env_file:
# - kc_ical.env
# depends_on:
# core
# ports:
# - "127.0.0.1:9003:80"