File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -142,24 +142,22 @@ services:
142142 ["postgres", "-c", "max_connections=${POSTGRES_MAX_CONNECTIONS:-100}"]
143143 environment :
144144 POSTGRES_HOST_AUTH_METHOD : " trust"
145- POSTGRES_USER : " postgres"
146- POSTGRES_PASSWORD : " sentry"
147145 volumes :
148146 - " sentry-postgres:/var/lib/postgresql/data"
149147 pgbouncer :
150148 image : " edoburu/pgbouncer:v1.24.1-p1"
151149 healthcheck :
152150 << : *healthcheck_defaults
153151 # Using default user "postgres" from sentry/sentry.conf.example.py or value of POSTGRES_USER if provided
154- test : ["CMD-SHELL", "PGPASSWORD=\"sentry\" psql -U postgres -p 5432 -h 127.0.0.1 -tA -c \"select 1;\" -d postgres >/dev/null"]
152+ test : ["CMD-SHELL", "psql -U postgres -p 5432 -h 127.0.0.1 -tA -c \"select 1;\" -d postgres >/dev/null"]
155153 depends_on :
156154 postgres :
157155 << : *depends_on-healthy
158156 environment :
159157 DB_USER : ${POSTGRES_USER:-postgres}
160- DB_PASSWORD : sentry
161158 DB_HOST : postgres
162159 DB_NAME : postgres
160+ AUTH_TYPE : trust
163161 POOL_MODE : transaction
164162 ADMIN_USERS : postgres,sentry
165163 MAX_CLIENT_CONN : 10000
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def get_internal_network():
4747 "ENGINE" : "sentry.db.postgres" ,
4848 "NAME" : "postgres" ,
4949 "USER" : "postgres" ,
50- "PASSWORD" : "sentry " ,
50+ "PASSWORD" : "" ,
5151 "HOST" : "pgbouncer" ,
5252 "PORT" : "" ,
5353 }
You can’t perform that action at this time.
0 commit comments