Skip to content

Commit

Permalink
Replace 'docker-compose' with 'docker compose' in script files for co…
Browse files Browse the repository at this point in the history
…nsistency
  • Loading branch information
yavrsky committed Dec 26, 2024
1 parent 1e652cc commit 143e07d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions scripts/run-hardhat-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
set -ae

run_container() {
docker-compose up --build --force-recreate -d hnode
docker compose up --build --force-recreate -d hnode
}

shutdown_container() {
docker-compose down --rmi local
docker compose down --rmi local
}

# shutdown_container
Expand Down
4 changes: 2 additions & 2 deletions scripts/run-redis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ create_redis_dir() {
}

run_container() {
docker-compose up --build --force-recreate -d redis
docker compose up --build --force-recreate -d redis
}

shutdown_container() {
docker-compose down --rmi local
docker compose down --rmi local
}

cleanup_redis_dir() {
Expand Down
6 changes: 3 additions & 3 deletions scripts/run-test-containers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ create_redis_dir() {
}

build() {
docker-compose build --force-rm $@
docker compose build --force-rm $@
}

run_containers() {
docker-compose up -d $@
docker compose up -d $@
}

shutdown_containers() {
docker-compose down --rmi local
docker compose down --rmi local
}

cleanup_skale_dir() {
Expand Down

0 comments on commit 143e07d

Please sign in to comment.