Skip to content

Commit

Permalink
chore(zk): finishing migration to docker compose (matter-labs#646)
Browse files Browse the repository at this point in the history
## What ❔

* replaced docker-compose with docker compose 

## Why ❔

* we moved to use docker compose (instead of docker-compose) - which is
a newer version
  • Loading branch information
mm-zk authored Dec 8, 2023
1 parent 21fc6ff commit 4c382a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions infrastructure/zk/src/docker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,11 @@ export async function push(image: string, cmd: Command) {
}

export async function restart(container: string) {
await utils.spawn(`docker-compose restart ${container}`);
await utils.spawn(`docker compose restart ${container}`);
}

export async function pull() {
await utils.spawn('docker-compose pull');
await utils.spawn('docker compose pull');
}

export const command = new Command('docker').description('docker management');
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/zk/src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export async function submoduleUpdate() {
}

async function checkEnv() {
const tools = ['node', 'yarn', 'docker', 'docker-compose', 'cargo'];
const tools = ['node', 'yarn', 'docker', 'cargo'];
for (const tool of tools) {
await utils.exec(`which ${tool}`);
}
Expand Down

0 comments on commit 4c382a0

Please sign in to comment.