-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-star.yaml
181 lines (180 loc) · 7.27 KB
/
docker-compose-star.yaml
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
version: '3.6'
services:
as1br1:
image: scion_host:latest
container_name: as1br1
environment:
- SUPERVISOR_PROCESS_GROUP=as1-ff00_0_1_BR1
volumes:
- ${SCION_ROOT:?}/bin:/home/scion/scion/bin:ro
- ${SCION_APPS:?}/bin:/home/scion/scion-apps/bin:ro
- ${SCION_ROOT:?}/gen:/home/scion/scion/gen:ro
- ${SCION_ROOT:?}/gen-cache:/home/scion/scion/gen-cache
- ${SCION_ROOT:?}/gen-certs:/home/scion/scion/gen-certs
- ${SCION_ROOT:?}/logs:/home/scion/scion/logs
- ${BUILD_DIR:?}:/home/scion/bpf:ro
- ${TOPO_DIR:?}/br_config:/home/scion/br_config:ro
- ${PROJECT_DIR:?}/libbpf/src/libbpf.so.0:/lib/x86_64-linux-gnu/libbpf.so.0:ro
- /usr/local/lib/libboost_json.so.1.79.0:/usr/local/lib/libboost_json.so.1.79.0:ro
- /usr/local/lib/libboost_container.so.1.79.0:/usr/local/lib/libboost_container.so.1.79.0:ro
- /sys/fs/bpf:/sys/fs/bpf # required to pin BPF maps from inside the container
cap_add:
- NET_ADMIN
- NET_RAW
privileged: true # required to load BPF programs from inside the container
as1br2:
image: scion_host:latest
container_name: as1br2
environment:
- SUPERVISOR_PROCESS_GROUP=as1-ff00_0_1_BR2
volumes:
- ${SCION_ROOT:?}/bin:/home/scion/scion/bin:ro
- ${SCION_APPS:?}/bin:/home/scion/scion-apps/bin:ro
- ${SCION_ROOT:?}/gen:/home/scion/scion/gen:ro
- ${SCION_ROOT:?}/gen-cache:/home/scion/scion/gen-cache
- ${SCION_ROOT:?}/gen-certs:/home/scion/scion/gen-certs
- ${SCION_ROOT:?}/logs:/home/scion/scion/logs
- ${BUILD_DIR:?}:/home/scion/bpf:ro
- ${TOPO_DIR:?}/br_config:/home/scion/br_config:ro
- ${PROJECT_DIR:?}/libbpf/src/libbpf.so.0:/lib/x86_64-linux-gnu/libbpf.so.0:ro
- /usr/local/lib/libboost_json.so.1.79.0:/usr/local/lib/libboost_json.so.1.79.0:ro
- /usr/local/lib/libboost_container.so.1.79.0:/usr/local/lib/libboost_container.so.1.79.0:ro
- /sys/fs/bpf:/sys/fs/bpf # required to pin BPF maps from inside the container
cap_add:
- NET_ADMIN
- NET_RAW
privileged: true # required to load BPF programs from inside the container
as1br3:
image: scion_host:latest
container_name: as1br3
environment:
- SUPERVISOR_PROCESS_GROUP=as1-ff00_0_1_BR3
volumes:
- ${SCION_ROOT:?}/bin:/home/scion/scion/bin:ro
- ${SCION_APPS:?}/bin:/home/scion/scion-apps/bin:ro
- ${SCION_ROOT:?}/gen:/home/scion/scion/gen:ro
- ${SCION_ROOT:?}/gen-cache:/home/scion/scion/gen-cache
- ${SCION_ROOT:?}/gen-certs:/home/scion/scion/gen-certs
- ${SCION_ROOT:?}/logs:/home/scion/scion/logs
- ${BUILD_DIR:?}:/home/scion/bpf:ro
- ${TOPO_DIR:?}/br_config:/home/scion/br_config:ro
- ${PROJECT_DIR:?}/libbpf/src/libbpf.so.0:/lib/x86_64-linux-gnu/libbpf.so.0:ro
- /usr/local/lib/libboost_json.so.1.79.0:/usr/local/lib/libboost_json.so.1.79.0:ro
- /usr/local/lib/libboost_container.so.1.79.0:/usr/local/lib/libboost_container.so.1.79.0:ro
- /sys/fs/bpf:/sys/fs/bpf # required to pin BPF maps from inside the container
cap_add:
- NET_ADMIN
- NET_RAW
privileged: true # required to load BPF programs from inside the container
as1br4:
image: scion_host:latest
container_name: as1br4
environment:
- SUPERVISOR_PROCESS_GROUP=as1-ff00_0_1_BR4
volumes:
- ${SCION_ROOT:?}/bin:/home/scion/scion/bin:ro
- ${SCION_APPS:?}/bin:/home/scion/scion-apps/bin:ro
- ${SCION_ROOT:?}/gen:/home/scion/scion/gen:ro
- ${SCION_ROOT:?}/gen-cache:/home/scion/scion/gen-cache
- ${SCION_ROOT:?}/gen-certs:/home/scion/scion/gen-certs
- ${SCION_ROOT:?}/logs:/home/scion/scion/logs
- ${BUILD_DIR:?}:/home/scion/bpf:ro
- ${TOPO_DIR:?}/br_config:/home/scion/br_config:ro
- ${PROJECT_DIR:?}/libbpf/src/libbpf.so.0:/lib/x86_64-linux-gnu/libbpf.so.0:ro
- /usr/local/lib/libboost_json.so.1.79.0:/usr/local/lib/libboost_json.so.1.79.0:ro
- /usr/local/lib/libboost_container.so.1.79.0:/usr/local/lib/libboost_container.so.1.79.0:ro
- /sys/fs/bpf:/sys/fs/bpf # required to pin BPF maps from inside the container
cap_add:
- NET_ADMIN
- NET_RAW
privileged: true # required to load BPF programs from inside the container
as2:
image: scion_host:latest
container_name: as2
environment:
- SUPERVISOR_PROCESS_GROUP=as1-ff00_0_2
volumes:
- ${SCION_ROOT:?}/bin:/home/scion/scion/bin:ro
- ${SCION_APPS:?}/bin:/home/scion/scion-apps/bin:ro
- ${SCION_ROOT:?}/gen:/home/scion/scion/gen:ro
- ${SCION_ROOT:?}/gen-cache:/home/scion/scion/gen-cache
- ${SCION_ROOT:?}/gen-certs:/home/scion/scion/gen-certs
- ${SCION_ROOT:?}/logs:/home/scion/scion/logs
cap_add:
- NET_ADMIN
- NET_RAW
as3:
image: scion_host:latest
container_name: as3
environment:
- SUPERVISOR_PROCESS_GROUP=as1-ff00_0_3
volumes:
- ${SCION_ROOT:?}/bin:/home/scion/scion/bin:ro
- ${SCION_APPS:?}/bin:/home/scion/scion-apps/bin:ro
- ${SCION_ROOT:?}/gen:/home/scion/scion/gen:ro
- ${SCION_ROOT:?}/gen-cache:/home/scion/scion/gen-cache
- ${SCION_ROOT:?}/gen-certs:/home/scion/scion/gen-certs
- ${SCION_ROOT:?}/logs:/home/scion/scion/logs
cap_add:
- NET_ADMIN
- NET_RAW
as4:
image: scion_host:latest
container_name: as4
environment:
- SUPERVISOR_PROCESS_GROUP=as1-ff00_0_4
volumes:
- ${SCION_ROOT:?}/bin:/home/scion/scion/bin:ro
- ${SCION_APPS:?}/bin:/home/scion/scion-apps/bin:ro
- ${SCION_ROOT:?}/gen:/home/scion/scion/gen:ro
- ${SCION_ROOT:?}/gen-cache:/home/scion/scion/gen-cache
- ${SCION_ROOT:?}/gen-certs:/home/scion/scion/gen-certs
- ${SCION_ROOT:?}/logs:/home/scion/scion/logs
cap_add:
- NET_ADMIN
- NET_RAW
as5:
image: scion_host:latest
container_name: as5
environment:
- SUPERVISOR_PROCESS_GROUP=as1-ff00_0_5
volumes:
- ${SCION_ROOT:?}/bin:/home/scion/scion/bin:ro
- ${SCION_APPS:?}/bin:/home/scion/scion-apps/bin:ro
- ${SCION_ROOT:?}/gen:/home/scion/scion/gen:ro
- ${SCION_ROOT:?}/gen-cache:/home/scion/scion/gen-cache
- ${SCION_ROOT:?}/gen-certs:/home/scion/scion/gen-certs
- ${SCION_ROOT:?}/logs:/home/scion/scion/logs
cap_add:
- NET_ADMIN
- NET_RAW
as6:
image: scion_host:latest
container_name: as6
environment:
- SUPERVISOR_PROCESS_GROUP=as1-ff00_0_6
volumes:
- ${SCION_ROOT:?}/bin:/home/scion/scion/bin:ro
- ${SCION_APPS:?}/bin:/home/scion/scion-apps/bin:ro
- ${SCION_ROOT:?}/gen:/home/scion/scion/gen:ro
- ${SCION_ROOT:?}/gen-cache:/home/scion/scion/gen-cache
- ${SCION_ROOT:?}/gen-certs:/home/scion/scion/gen-certs
- ${SCION_ROOT:?}/logs:/home/scion/scion/logs
cap_add:
- NET_ADMIN
- NET_RAW
as7:
image: scion_host:latest
container_name: as7
environment:
- SUPERVISOR_PROCESS_GROUP=as1-ff00_0_7
volumes:
- ${SCION_ROOT:?}/bin:/home/scion/scion/bin:ro
- ${SCION_APPS:?}/bin:/home/scion/scion-apps/bin:ro
- ${SCION_ROOT:?}/gen:/home/scion/scion/gen:ro
- ${SCION_ROOT:?}/gen-cache:/home/scion/scion/gen-cache
- ${SCION_ROOT:?}/gen-certs:/home/scion/scion/gen-certs
- ${SCION_ROOT:?}/logs:/home/scion/scion/logs
cap_add:
- NET_ADMIN
- NET_RAW