-
Notifications
You must be signed in to change notification settings - Fork 90
/
docker-compose.yml
40 lines (40 loc) · 1.02 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
version: '3.4'
services:
spectrum:
image: spectrum2/spectrum:master
restart: unless-stopped
container_name: spectrum
ports:
- 8080:8080
volumes:
- ./tests/xmpp/configuration:/etc/spectrum2:ro
- ./tests/xmpp/configuration/transports:/etc/spectrum2/transports:ro
- ./tests/xmpp/data:/var/lib/spectrum2
- ./tests/xmpp/media:/var/lib/spectrum2/media
depends_on:
prosody:
condition: service_started
nginx:
condition: service_started
prosody:
image: spectrum2/prosody:latest
restart: unless-stopped
container_name: prosody
ports:
- 5222:5222
- 5347:5347
environment:
- LOCAL=admin
- DOMAIN=localhost
- PASSWORD=secret
volumes:
- ./tests/prosody/configuration:/etc/prosody:ro
- ./tests/prosody/data:/var/lib/prosody
nginx:
image: spectrum2/nginx:latest
restart: unless-stopped
container_name: nginx
ports:
- 8081:80
volumes:
- ./tests/xmpp/media:/var/www/html:ro