Skip to content

Commit

Permalink
swith to docker compose (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
atakavci authored Aug 6, 2024
1 parent 66ef8c5 commit c3b67ab
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ if [[ -n "${DOCKER_ACCESS_TOKEN}" ]]; then
fi

## Build infrastructure ##
docker-compose up -d
docker compose up -d

## Create cluster ##
docker-compose exec -T master-node "/opt/setup_cluster.sh"
docker compose exec -T master-node "/opt/setup_cluster.sh"

## Join nodes ##
docker-compose exec -T node-1 "/opt/join_node.sh"
docker-compose exec -T node-2 "/opt/join_node.sh"
docker compose exec -T node-1 "/opt/join_node.sh"
docker compose exec -T node-2 "/opt/join_node.sh"

## Create DB ##
docker-compose exec -T master-node "/opt/create_db.sh"
docker compose exec -T master-node "/opt/create_db.sh"

0 comments on commit c3b67ab

Please sign in to comment.