This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
/
docker-compose.yml
57 lines (55 loc) · 1.59 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: '3.7'
services:
docs:
image: 'nginx:1.17.4-alpine'
ports:
- '8080:80'
volumes:
- './docs:/usr/share/nginx/html:ro'
janus:
image: 'helloiampau/janus:0.7.4'
build:
context: '.'
dockerfile: 'Dockerfile.janus'
security_opt:
- 'seccomp:unconfined'
ports:
- "8088:8088"
- "8188:8188"
- "5000:5000"
- "9000-9020:9000-9020/udp"
command: "/opt/janus/bin/janus --stun-server=stun.l.google.com:19302 --rtp-port-range=9000-9020 --nat-1-1=10.0.2.2"
httpbin:
image: 'kennethreitz/httpbin'
https:
image: 'outrigger/https-proxy:1.0'
depends_on:
- 'httpbin'
environment:
UPSTREAM_DOMAIN: 'httpbin'
UPSTREAM_PORT: 80
PROXY_DOMAIN: 'https'
test:
depends_on:
- 'httpbin'
- 'https'
- 'janus'
security_opt:
- 'seccomp:unconfined'
build:
context: '.'
image: 'janus-client/test'
ports:
- '5001:5000'
volumes:
- './CMakeLists.txt:/app/CMakeLists.txt:ro'
# - './CPPLINT.cfg:/app/CPPLINT.cfg:ro'
- './Makefile:/app/Makefile:ro'
# - './codecov.yml:/app/codecov.yml:ro'
- './include/:/app/include/'
- './janus-client.djinni:/app/janus-client.djinni:ro'
- './src/:/app/src/'
- './test/:/app/test/'
- './generated/:/app/generated/'
- './third_party/:/app/third_party/'
command: bash -c 'mkdir -p /app/build && cd /app && cd build && cmake .. && while inotifywait -r -e create ../src ../test ../include/janus --exclude ''\\.o$$''; do cmake .. && make janus_tests && ./janus_tests; done'