File tree Expand file tree Collapse file tree 5 files changed +177
-169
lines changed
examples/system-test-actor/src/container Expand file tree Collapse file tree 5 files changed +177
-169
lines changed Original file line number Diff line number Diff line change @@ -213,14 +213,16 @@ services:
213
213
- RUST_LOG=debug,hyper=info
214
214
stop_grace_period : 0s
215
215
depends_on :
216
+ # HACK: rivet-server dependency since we need to do a DNS lookup in entrypoint.sh for the iptables chain
217
+ rivet-server :
218
+ condition : service_healthy
216
219
rivet-edge-server :
217
220
condition : service_healthy
218
221
foundationdb :
219
222
condition : service_healthy
220
223
volumes :
221
224
# - ./rivet-client/entrypoint.sh:/usr/local/bin/entrypoint.sh:ro
222
225
- ./rivet-client/config.jsonc:/etc/rivet-client/config.jsonc:ro
223
- - ./rivet-client/rivet-actor.conflist:/opt/cni/config/rivet-actor.conflist:ro
224
226
- client-data:/var/lib/rivet-client
225
227
ports :
226
228
# Enable host networking for actors
Original file line number Diff line number Diff line change 2
2
"client" : {
3
3
"runner" : {
4
4
"flavor" : " container" ,
5
- "use_resource_constraints" : false
5
+ // Resource constraints are not supported in Docker
6
+ // TODO: Needs further investigation in to why nested cgroups v2 resource constraints aren't working
7
+ "use_resource_constraints" : false ,
8
+ "custom_hosts" : [
9
+ // Define host for the API server
10
+ //
11
+ // This is a custom IP defined in entrypoint.sh iptables
12
+ {
13
+ "ip" : " 192.168.100.1" ,
14
+ "hostname" : " rivet-server"
15
+ }
16
+ ]
6
17
},
7
18
"cluster" : {
8
19
// This is safe to hardcode
You can’t perform that action at this time.
0 commit comments