Skip to content

Commit

Permalink
Docker Compose: change bacalhau commands to support 1.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jamlo committed Oct 8, 2024
1 parent e1274ef commit 6de883b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test-integration/compute_node_image_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ while [[ ${attempt} -le ${MAX_ATTEMPTS} ]]; do
# Try to communicate with Docker daemon
if docker info >/dev/null 2>&1; then
echo "dockerd is available! Now Starting Bacalhau as a compute node"
bacalhau config set "node.network.authsecret" "${NETWORK_AUTH_TOKEN}"
bacalhau serve --node-type=compute --orchestrators="nats://${REQUESTER_NODE_LINK}:4222"
bacalhau config set compute.auth.token="${NETWORK_AUTH_TOKEN}"
bacalhau serve --compute -c compute.orchestrators="nats://${REQUESTER_NODE_LINK}:4222"
# Wait for any process to exit
wait -n

Expand Down
2 changes: 1 addition & 1 deletion test-integration/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ services:
- /bin/bash
- -c
- |
bacalhau config set "node.network.authsecret" "$${NETWORK_AUTH_TOKEN}" && bacalhau serve --port=$${BACALHAU_API_PORT} --node-type requester
bacalhau config set "orchestrator.auth.token" "$${NETWORK_AUTH_TOKEN}" && bacalhau serve --orchestrator -c api.port=$${BACALHAU_API_PORT}
healthcheck:
test: [ "CMD-SHELL", "nc -zv localhost 1234" ]
interval: 1s
Expand Down

0 comments on commit 6de883b

Please sign in to comment.