I’m trying to set up on-premise to work with a Postgres DB running in RDS and I could use some help understanding the minimum steps I should take to accomplish this.
So far I’ve copied sentry.conf.example.py
to sentry.conf.py
and updated the DATABASES
dict to look like this:
DATABASES = {
"default": {
"ENGINE": "django.db.backends.postgresql",
"NAME": "pg-name",
"USER": "fake_myuser",
"PASSWORD": "fake_password",
"HOST": "my-rds-endpointus-east-2.rds.amazonaws.com",
"PORT": "5432",
}
}
I chose the value for ENGINE
based on the recommendation in the output of sentry_install_log-<date>.txt
.
Am I on the right track here? Are there other changes I have to make to my docker-compose.yml
file?
When I run the install script with the --no-user-prompt
flag, it seems to get stuck. The last line of output (several lines under Setting up database
) is
[WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured.
The only other customization I’ve made to the on-premise install is to update the nginx.conf
and docker-compose file to redirect HTTP traffic on port 80 to port 443.
Sorry if there are any details I forgot to include, but any help getting on track would be appreciated!