Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#12048] Add SQL description for postgres config #12931

Merged
merged 5 commits into from
Mar 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading