Skip to content

Commit

Permalink
Address changes, include production_user
Browse files Browse the repository at this point in the history
  • Loading branch information
FergusMok committed Mar 23, 2024
1 parent bf59b3e commit 426c1dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/build-dev.template.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ app.frontend.url = http\://localhost:4200
# This is the port to connect with local Datastore emulator.
app.localdatastore.port = 8484

# Configurations for postgres
# Default configurations for the local Postgres instance details on Docker. No further changes will be needed.
app.postgres.host=localhost
app.postgres.port=5432
app.postgres.databasename=teammates
Expand Down
5 changes: 5 additions & 0 deletions src/main/resources/build.template.properties
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ app.version = 8-0-0
app.postgres.host=
app.postgres.port=5432
app.postgres.databasename=postgres

# For production purposes, a separate role with less privileges (i.e unable to drop tables) should be created
# instead of using superadmin postgres.
# app.postgres.username=production_user
# For staging purposes, logging in as postgres will do.
app.postgres.username=postgres
app.postgres.password=

Expand Down

0 comments on commit 426c1dd

Please sign in to comment.