forked from bavc/signalserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (39 loc) · 933 Bytes
/
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
version: '2.0'
services:
web:
build:
context: .
env_file: ./signalservers.env
ports:
- "8000:8000"
volumes:
- ${FILES_VOLUME_PATH}:/var/signalserver/files
db:
image: postgres:9.5
env_file: ./signalservers.env
ports:
- "5432:5432"
volumes:
- dbdata:/var/lib/postgresql/data
rmq:
image: "rabbitmq:management"
env_file: ./signalservers.env
hostname: "rmq"
ports:
- "5672:5672"
redis:
image: redis
ports:
- "6379"
worker:
build:
context: .
dockerfile: ./Dockerfile-alternate
env_file: ./signalservers.env
user: signalserversadmin
command: celery -A signalserver worker --loglevel=info
volumes_from:
- web
volumes:
dbdata: {}
files: {}