File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,12 @@ services:
3131 # Not actually currently used. Just for testing purposes in development.
3232 pgbouncer :
3333 image : pgbouncer/pgbouncer:1.14.0
34- environment : # DATABASES_* are defaults from judge0.conf
34+ environment : # DATABASES_* are the same as from judge0.conf
3535 - DATABASES_HOST=db
3636 - DATABASES_PORT=5432
37- - DATABASES_USER=postgres
37+ - DATABASES_DBNAME=judge0
38+ - DATABASES_USER=judge0
3839 - DATABASES_PASSWORD=YourPasswordHere1234
39- - DATABASES_DBNAME=postgres
4040 - PGBOUNCER_LISTEN_PORT=5432 # Set the same as Postgres
4141 restart : always
4242
Original file line number Diff line number Diff line change @@ -207,11 +207,11 @@ POSTGRES_PORT=
207207
208208# Name of the database to use. Used only in production.
209209# Default: postgres
210- POSTGRES_DB=
210+ POSTGRES_DB=judge0
211211
212212# User who can access this database. Used only in production.
213213# Default: postgres
214- POSTGRES_USER=
214+ POSTGRES_USER=judge0
215215
216216# Password of the user. Cannot be blank. Used only in production.
217217# Default: NO DEFAULT, YOU MUST SET YOUR PASSWORD
You can’t perform that action at this time.
0 commit comments