-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
77 lines (72 loc) · 1.95 KB
/
docker-compose.yml
File metadata and controls
77 lines (72 loc) · 1.95 KB
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
version: '3.6'
services:
# Create NMOS Registry/Controller container instance
nmos-crosspoint:
build:
context: './'
container_name: nmos-crosspoint_v2
hostname: nmos-crosspoint_v2
domainname: local
ports:
- "80:80"
volumes:
- "./server/config:/nmos-crosspoint/server/config"
- "./server/state:/nmos-crosspoint/server/state"
networks:
oob:
ipv4_address: '10.1.0.20'
amber:
ipv4_address: '10.11.0.20'
blue:
ipv4_address: '10.12.0.20'
nmos-crosspoint-dev:
profiles: ["dev"]
build:
context: './'
dockerfile: Dockerfile.dev
container_name: nmos-crosspoint-dev
hostname: nmos-crosspoint-dev
domainname: local
ports:
- "80:80"
- "5137:5137"
volumes:
- "./server:/nmos-crosspoint/server"
- "./ui:/nmos-crosspoint/ui"
- "/nmos-crosspoint/server/node_modules"
- "/nmos-crosspoint/ui/node_modules"
networks:
oob:
ipv4_address: '10.1.0.18'
amber:
ipv4_address: '10.11.0.18'
blue:
ipv4_address: '10.12.0.18'
networks:
oob:
name: oob
# Create external macvlan subnet using host physical interface allowing containers to have their own IP addresses
driver: macvlan
driver_opts:
parent: ens192
ipam:
config:
- subnet: 10.1.0.0/24
amber:
name: amber
# Create external macvlan subnet using host physical interface allowing containers to have their own IP addresses
driver: macvlan
driver_opts:
parent: ens224
ipam:
config:
- subnet: 10.11.0.0/24
blue:
name: blue
# Create external macvlan subnet using host physical interface allowing containers to have their own IP addresses
driver: macvlan
driver_opts:
parent: ens256
ipam:
config:
- subnet: 10.12.0.0/24