Revert "Trying restart instead in up --force-recreate to have pusher running again"

This reverts commit 3028a1b0e4.
This commit is contained in:
David Négrier 2021-12-04 10:53:40 +01:00
parent 3028a1b0e4
commit 720370a9fa

View File

@ -35,7 +35,7 @@ export async function startContainer(container: Dockerode.ContainerInfo): Promis
} }
export async function rebootBack(): Promise<void> { export async function rebootBack(): Promise<void> {
let stdout = execSync('docker-compose restart back', { let stdout = execSync('docker-compose up --force-recreate -d back', {
cwd: __dirname + '/../../../' cwd: __dirname + '/../../../'
}); });
/*const container = await findContainer('back'); /*const container = await findContainer('back');
@ -44,7 +44,7 @@ export async function rebootBack(): Promise<void> {
} }
export function rebootTraefik(): void { export function rebootTraefik(): void {
let stdout = execSync('docker-compose restart reverse-proxy', { let stdout = execSync('docker-compose up --force-recreate -d reverse-proxy', {
cwd: __dirname + '/../../../' cwd: __dirname + '/../../../'
}); });
@ -52,7 +52,7 @@ export function rebootTraefik(): void {
} }
export async function rebootPusher(): Promise<void> { export async function rebootPusher(): Promise<void> {
let stdout = execSync('docker-compose restart pusher', { let stdout = execSync('docker-compose up --force-recreate -d pusher', {
cwd: __dirname + '/../../../' cwd: __dirname + '/../../../'
}); });
/*const container = await findContainer('pusher'); /*const container = await findContainer('pusher');