Skip to content

Commit

Permalink
Tidy up environment variables (#24)
Browse files Browse the repository at this point in the history
We noticed we are still referring to SROC in our local environment variables. Also noticed the DB in the ci.yaml is different to the one we use locally.
  • Loading branch information
Jozzey authored Nov 9, 2022
1 parent f8b2d0f commit a0f2371
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ POSTGRES_USER=myuser
POSTGRES_PASSWORD=password12345
POSTGRES_HOST=db
POSTGRES_PORT=5432
POSTGRES_DB=sroc_charge
POSTGRES_DB_TEST=sroc_charge_test
POSTGRES_DB=wabs
POSTGRES_DB_TEST=wabs_system_test

# Server config
PORT=3000
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
POSTGRES_PASSWORD: password
POSTGRES_HOST: localhost
POSTGRES_PORT: 5432
POSTGRES_DB: wabs_test
POSTGRES_DB_TEST: wabs_test
POSTGRES_DB: wabs_system_test
POSTGRES_DB_TEST: wabs_system_test
ENVIRONMENT: dev


Expand All @@ -44,7 +44,7 @@ jobs:
env:
POSTGRES_USER: water_user
POSTGRES_PASSWORD: password
POSTGRES_DB: wabs_test
POSTGRES_DB: wabs_system_test
# Maps tcp port 5432 on service container to the host
ports:
- 5432:5432
Expand Down

0 comments on commit a0f2371

Please sign in to comment.