Skip to content

Commit

Permalink
chore: make publisher database temporary
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Leksat authored Jan 23, 2024
1 parent cf0442e commit b8fd172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/website/publisher.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
? {
Expand Down

0 comments on commit b8fd172

Please sign in to comment.