-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.json
97 lines (97 loc) · 1.83 KB
/
docker-compose.dev.json
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"version": "3.4",
"networks": {
"main": {},
"db": {}
},
"services": {
"proxy": {
"image": "nginx",
"command": ["nginx-debug", "-g", "daemon off;"],
"ports": [
"9000:80"
],
"volumes": [
"./proxy/nginx.conf:/etc/nginx/nginx.conf"
],
"networks": [
"db",
"main"
]
},
"db": {
"env_file": "./development.env",
"image": "postgres",
"networks": {
"db": {
"aliases": [
"webrtc-db"
]
}
},
"ports": [
"5432:5432"
],
"restart": "always"
},
"server": {
"build": {
"dockerfile": "./Dockerfile.dev.server",
"context": "."
},
"env_file": "./development.env",
"networks": [
"db",
"main"
],
"ports": [
"8080:8080",
"8081:8081"
],
"volumes":[
"./:/app"
],
"restart": "always"
},
"client": {
"build":{
"dockerfile":"./Dockerfile.dev.client",
"context":"."
},
"env_file": "./development.env",
"networks": [
"main"
],
"ports": [
"8090:8080"
],
"volumes":[
"./:/app"
],
"restart": "always"
},
"janus":{
"image":"canyan/janus-gateway:0.10.7",
"command": ["usr/local/bin/janus", "-F", "/usr/local/etc/janus"],
"ports":[
"8188:8188"
],
"volumes":[
"./janus/janus.jcfg:/usr/local/etc/janus/janus.jcfg"
],
"networks":[
"main"
],
"restart":"always"
},
"redis": {
"image": "redis",
"command": ["redis-server", "--save 60 1", "--loglevel warning"],
"ports": ["6380:6380"],
"networks":[
"main"
],
"restart":"always"
}
}
}