Self-Hosted Sentry外置数据库部署

62 阅读1分钟

Self-Hosted Version

24.9.0

CPU Architecture

x86_64

Docker Version

26.0.0

Docker Compose Version

1.29.2

数据库postgres准备:

postgres版本:

postgresql-16

 
postgres插件:

NameVersionSchema
citext1.6public
plpgsql1.0pg_catalog

在执行 ./install.sh前,修改以下文件 sentry/sentry.conf.py 内容

DATABASES = {  
    "default": {  
        "ENGINE": "sentry.db.postgres",  
        "NAME": "postgres",  
        "USER": "postgres",  
        "PASSWORD": "1234567890",  
        "HOST": "10.x.x.x",  
        "PORT": "5432",  
    }  
}
DATABASES = {     "default": {         "ENGINE": "sentry.db.postgres",         "NAME": "postgres",         "USER": "postgres",         "PASSWORD": "1234567890",         "HOST": "10.x.x.x",         "PORT": "5432",     } }

再执行 ./install.sh,其他步骤相同。