Skip to content

Commit

Permalink
fix: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pascal Klesse committed Dec 22, 2024
1 parent a2f22a8 commit 8f300a0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion projects/api/src/server/common/services/cron-jobs.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ export class CronJobs extends CoreCronJobs {
`docker system prune --force --all`,
{shell: true}
);
await execa('docker network create --driver=overlay deploy-party', {shell: true});
try {
await execa('docker network create --driver=overlay deploy-party', {shell: true});
} catch (e) {
console.debug('Network already exists');
}
}
}

0 comments on commit 8f300a0

Please sign in to comment.