-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.dev.yml
37 lines (37 loc) · 1.03 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
version: '2'
services:
streaming-server:
image: 'illuspas/node-media-server'
container_name: nms
ports:
- '1935:1935'
app:
build:
context: .
dockerfile: Dockerfile
command:
- --videopath=/tmp/videos
- --rtmp-stream-url=rtmp://nms:1935/live/mystream
# uncomment the below to test an interlude. a file called
# interlude.mp4 must exist in this project in the `videos` folder.
# there is an unresolved bug where the server doesn't reload
# while an interlude is playing.
# - --interlude=/tmp/videos/interlude.mp4
ports:
- 5001:5001
volumes:
- ./server.py:/app/server.py
- ./static:/app/static
- ./modules:/app/modules
- ./videos:/tmp/videos:rw
environment:
- WATCHFILES_FORCE_POLLING=true
prometheus:
image: prom/prometheus:latest
restart: always
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
command:
- --config.file=/etc/prometheus/prometheus.yml
ports:
- 9090:9090