Skip to content

Commit

Permalink
Add down into init
Browse files Browse the repository at this point in the history
Signed-off-by: Danil <deniallugo@gmail.com>
  • Loading branch information
Deniallugo committed Mar 12, 2024
1 parent 1cd16d2 commit d09f88d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions infrastructure/zk/src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import * as env from './env';
import * as run from './run';
import * as server from './server';
import { createVolumes, up } from './up';
import {down} from "./down";

const entry = chalk.bold.yellow;
const announce = chalk.yellow;
Expand All @@ -36,6 +37,7 @@ export async function init(initArgs: InitArgs = DEFAULT_ARGS) {
await announced('Pulling images', docker.pull());
await announced('Checking environment', checkEnv(runObservability));
await announced('Checking git hooks', env.gitHooks());
await announced('Remove old containers', down());
await announced('Create volumes', createVolumes());
await announced('Setting up containers', up(runObservability));
}
Expand Down

0 comments on commit d09f88d

Please sign in to comment.