Skip to content

Commit

Permalink
update process compose
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-maron committed Mar 28, 2024
1 parent 1785288 commit 8ab0a12
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions process-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ processes:
command: echo 'requirepass changeme!' | keydb-server - --save "" --appendonly no

marshal_0:
command: cargo run --package cdn-marshal --release -- -d "redis://:changeme!@localhost:6379"
command: cargo run --package cdn-marshal --release -- --metrics-port=8080 -d "redis://:changeme!@localhost:6379"

broker_0:
command: cargo run --package cdn-broker --release -- --public-advertise-address 127.0.0.1:8083 --private-bind-port 8082 --public-bind-port 8083 -d "redis://:changeme!@localhost:6379"
Expand All @@ -14,13 +14,7 @@ processes:
command: cargo run --package cdn-broker --release -- --metrics-port=9091 --public-advertise-address 127.0.0.1:8085 --private-bind-port 8084 --public-bind-port 8085 -d "redis://:changeme!@localhost:6379"

client_0:
command: cargo run --bin cdn-client --release
depends_on:
marshal_0:
condition: process_started

client_1:
command: cargo run --bin cdn-client --release
command: cargo run --bin cdn-client --release -- -m "127.0.0.1:1737"
depends_on:
marshal_0:
condition: process_started

0 comments on commit 8ab0a12

Please sign in to comment.