self-hosted icon indicating copy to clipboard operation
self-hosted copied to clipboard

Provide options for an external Postgres

Open williamdes opened this issue 7 months ago • 1 comments

Problem Statement

As a user I prefer to run myself the Postgres and Clickhouse DBs. It also makes me sure the DB servers still run when I down/up Sentry.

A lot of the setup relies onto having Postgres as a container for upgrades. Can an external option be done ? Same for Clickhouse but much less a priority.

Solution Brainstorm

Currently I comment out the Postgres container and tweaks envs. And also have to comment all your upgrade lines, and check on each new release. (this is quite the most problematic)

Solution: ask Sentry itself for a DB connection with Python and run the migration ?

williamdes avatar Apr 15 '25 16:04 williamdes

I'm gonna backlog this and have a debate with @BYK about doing a documentation vs providing a .patch file 😆

aldy505 avatar Apr 16 '25 00:04 aldy505