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

This commit is contained in:
David Négrier 2021-12-04 00:52:17 +01:00 committed by GitHub
parent 411ee251ff
commit 3028a1b0e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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