Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docker/dev-full/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,14 +213,16 @@ services:
- RUST_LOG=debug,hyper=info
stop_grace_period: 0s
depends_on:
# HACK: rivet-server dependency since we need to do a DNS lookup in entrypoint.sh for the iptables chain
rivet-server:
condition: service_healthy
rivet-edge-server:
condition: service_healthy
foundationdb:
condition: service_healthy
volumes:
# - ./rivet-client/entrypoint.sh:/usr/local/bin/entrypoint.sh:ro
- ./rivet-client/config.jsonc:/etc/rivet-client/config.jsonc:ro
- ./rivet-client/rivet-actor.conflist:/opt/cni/config/rivet-actor.conflist:ro
- client-data:/var/lib/rivet-client
ports:
# Enable host networking for actors
Expand Down
13 changes: 12 additions & 1 deletion docker/dev-full/rivet-client/config.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,18 @@
"client": {
"runner": {
"flavor": "container",
"use_resource_constraints": false
// Resource constraints are not supported in Docker
// TODO: Needs further investigation in to why nested cgroups v2 resource constraints aren't working
"use_resource_constraints": false,
"custom_hosts": [
// Define host for the API server
//
// This is a custom IP defined in entrypoint.sh iptables
{
"ip": "192.168.100.1",
"hostname": "rivet-server"
}
]
},
"cluster": {
// This is safe to hardcode
Expand Down
Loading
Loading