Skip to content

Commit

Permalink
Revert to DB Name
Browse files Browse the repository at this point in the history
  • Loading branch information
TawneeOwl committed Nov 22, 2024
1 parent 823645d commit f8b8912
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
10 changes: 10 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ services:
environment:
SECRET_KEY: "TEST_KEY"
<<: *database_config
DB_USER: postgres
DB_PASSWORD: postgres
DB_NAME: case_api
DB_PORT: 5432
DB_HOST: db
volumes:
- ./app:/home/app/case_api/app
depends_on:
Expand All @@ -42,6 +47,11 @@ services:
command: alembic upgrade head
environment:
<<: *database_config
DB_USER: postgres
DB_PASSWORD: postgres
DB_NAME: case_api
DB_PORT: 5432
DB_HOST: db
depends_on:
db:
condition: service_healthy
10 changes: 5 additions & 5 deletions helm_deploy/laa-civil-case-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,22 +63,22 @@ envVars:
secret:
name: secretkey
key: value
POSTGRES_DB:
DB_NAME:
secret:
name: rds-postgresql-instance-output
key: database_name
POSTGRES_USER:
DB_USER:
secret:
name: rds-postgresql-instance-output
key: database_username
POSTGRES_PASSWORD:
DB_PASSWORD:
secret:
name: rds-postgresql-instance-output
key: database_password
POSTGRES_HOST:
DB_HOST:
secret:
name: rds-postgresql-instance-output
key: rds_instance_address
POSTGRES_PORT:
DB_PORT:
value: 5432

0 comments on commit f8b8912

Please sign in to comment.