-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yml
65 lines (61 loc) · 1.39 KB
/
docker-compose.dev.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
# docker-compose.yml
version: '3.1'
services:
muxer:
build: ./
image: muxer-api
depends_on:
- redis
links:
- redis:redis.host
environment:
REDIS_HOST: redis.host
NODE_ENV: development
TRANSIT_DIR: /transit
TRANSCODED_DIR: /transcoded
volumes:
- ./:/home/node/server
- ${STORAGE_PATH}/transit:/transit
- ${STORAGE_PATH}/transcoded:/transcoded
ports:
- 3002:3000
entrypoint: 'node'
command: ['node_modules/.bin/nodemon', 'run.js', 'server']
arena:
image: muxer-api
depends_on:
- muxer
- redis
environment:
REDIS_HOST: redis.host
ARENA_PORT: 3000
ARENA_HOST: 0.0.0.0
ports:
- 3003:3000
links:
- redis:redis.host
volumes:
- ./:/home/node/server
command: ['arena']
muxer-worker:
image: muxer-api
depends_on:
- redis
links:
- redis:redis.host
environment:
REDIS_HOST: redis.host
NODE_ENV: development
TRANSIT_DIR: /transit
TRANSCODED_DIR: /transcoded
volumes:
- ./:/home/node/server
- ${STORAGE_PATH}/transit:/transit
- ${STORAGE_PATH}/transcoded:/transcoded
entrypoint: 'node'
command: ['node_modules/.bin/nodemon', 'run.js', 'worker']
redis:
image: redis:5.0.5
volumes:
- ${STORAGE_PATH}/redis:/data
command: redis-server --appendonly yes