From b8fd172099f3890f1b651885e104bacab7e2e674 Mon Sep 17 00:00:00 2001 From: Alexander Tkachev Date: Tue, 23 Jan 2024 11:14:32 +0400 Subject: [PATCH] chore: make publisher database temporary It had occurred a few times on live projects that the Publisher's database became corrupted. During the subsequent deployment, the Publisher attempted to start but could not due to the broken database. We could have the Publisher recreate the database if it becomes corrupted. However, in reality, the build history isn't truly valuable, so we only make it temporary. --- apps/website/publisher.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/website/publisher.config.ts b/apps/website/publisher.config.ts index a6c441762..abaf98f01 100644 --- a/apps/website/publisher.config.ts +++ b/apps/website/publisher.config.ts @@ -34,7 +34,7 @@ export default defineConfig({ ].join(' && ') : 'echo "Fake deployment done"', }, - databaseUrl: 'persisted-store/publisher.sqlite', + databaseUrl: '/tmp/publisher.sqlite', publisherPort: isLagoon ? 3000 : 8000, oAuth2: isLagoon ? {