Skip to content

Commit

Permalink
Merge pull request #425 from GSA/lc/1163-update-postgres
Browse files Browse the repository at this point in the history
1163 - Close down old postgres database
  • Loading branch information
luke-at-flexion authored Jan 26, 2025
2 parents fd395f6 + 6884549 commit bdb18d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libs/database/src/config/db.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
export default () => {
if (process.env.VCAP_SERVICES) {
const vcap = JSON.parse(process.env.VCAP_SERVICES);
const rds = vcap['aws-rds'][1];
const rds = vcap['aws-rds'][0];
return {
database: {
url: rds.credentials.uri,
Expand Down
4 changes: 2 additions & 2 deletions manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ applications:
disk_quota: ((api_disk))
timeout: 10 # seconds
services:
- scanner-postgres
- scanner-postgres-02
- user-provided-api-key
memory: ((api_memory))
instances: ((api_instances))
Expand All @@ -14,7 +14,7 @@ applications:
- name: site-scanner-consumer
disk_quota: ((consumer_disk))
services:
- scanner-postgres
- scanner-postgres-02
- scanner-message-queue
memory: ((consumer_memory))
buildpacks:
Expand Down

0 comments on commit bdb18d2

Please sign in to comment.