From 3028a1b0e46b065151852c5f79304183f787cd2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Sat, 4 Dec 2021 00:52:17 +0100 Subject: [PATCH] Trying restart instead in up --force-recreate to have pusher running again --- tests/tests/utils/containers.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/tests/utils/containers.ts b/tests/tests/utils/containers.ts index 454340ff..9d94c648 100644 --- a/tests/tests/utils/containers.ts +++ b/tests/tests/utils/containers.ts @@ -35,7 +35,7 @@ export async function startContainer(container: Dockerode.ContainerInfo): Promis } export async function rebootBack(): Promise { - let stdout = execSync('docker-compose up --force-recreate -d back', { + let stdout = execSync('docker-compose restart back', { cwd: __dirname + '/../../../' }); /*const container = await findContainer('back'); @@ -44,7 +44,7 @@ export async function rebootBack(): Promise { } export function rebootTraefik(): void { - let stdout = execSync('docker-compose up --force-recreate -d reverse-proxy', { + let stdout = execSync('docker-compose restart reverse-proxy', { cwd: __dirname + '/../../../' }); @@ -52,7 +52,7 @@ export function rebootTraefik(): void { } export async function rebootPusher(): Promise { - let stdout = execSync('docker-compose up --force-recreate -d pusher', { + let stdout = execSync('docker-compose restart pusher', { cwd: __dirname + '/../../../' }); /*const container = await findContainer('pusher');