-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (33 loc) · 1.22 KB
/
docker-compose.yml
File metadata and controls
35 lines (33 loc) · 1.22 KB
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
services:
xmpp:
image: ejabberd/ecs:${EJABBERD_VERSION:-24.12}
volumes:
- "./tests/config/ejabberd/ejabberd.yml:/home/ejabberd/conf/ejabberd.yml"
- "./tests/config/ejabberd/ejabberd.db:/home/ejabberd/database/ejabberd.db"
ports:
- "15222:5222"
- "15223:5223"
environment:
- CTL_ON_CREATE=register testuser localhost testpass
# Extra test server for https://dyn.eightysoft.de/xeps/xep-0474.html
xmpp_source:
build:
context: https://github.com/processone/docker-ejabberd.git#master:ecs
args:
- VERSION=ceee3d3be1fc1053e61bbc81881bd40dbbbc1e89
volumes:
- "./tests/config/ejabberd/ejabberd.yml:/home/ejabberd/conf/ejabberd.yml"
- "./tests/config/ejabberd/ejabberd.db:/home/ejabberd/database/ejabberd.db"
ports:
- "25222:5222"
- "25223:5223"
environment:
- CTL_ON_CREATE=register testuser localhost testpass
mail:
image: dovecot/dovecot:${DOVECOT_VERSION:-2.3.18}
volumes:
- "./tests/config/dovecot/dovecot.conf:/etc/dovecot/dovecot.conf"
- "./tests/config/dovecot/users:/etc/dovecot/users"
- "./tests/config/dovecot/auth-passwdfile.conf.ext:/etc/dovecot/auth-passwdfile.conf.ext"
ports:
- "1110:110"