Skip to content

Commit

Permalink
Adjust config for local tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wellyfrs committed May 18, 2024
1 parent 31015ef commit ea8d8f7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

jobs:
app:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
workflow_dispatch:

jobs:
provisioning:
provision:
runs-on: ubuntu-latest
defaults:
run:
Expand Down
18 changes: 9 additions & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ services:
depends_on:
- stock_db
environment:
- DB_ENDPOINT=stock_db:5432
- DB_NAME=selforder
- DB_USERNAME=selforder
- DB_PASSWORD=self@Order123!
- ADMIN_ACCESS_TOKEN=token
DB_ENDPOINT: stock_db:5432
DB_NAME: selforder
DB_USERNAME: selforder
DB_PASSWORD: self@Order123!
ADMIN_ACCESS_TOKEN: token
ports:
- "8080:8080"
- "8081:8081"
restart: always

stock_db:
Expand All @@ -25,9 +25,9 @@ services:
volumes:
- stock_db:/var/lib/postgresql/data
environment:
- POSTGRES_DB=stock
- POSTGRES_USER=selforder
- POSTGRES_PASSWORD=self@Order123!
POSTGRES_DB: stock
POSTGRES_USER: selforder
POSTGRES_PASSWORD: self@Order123!
ports:
- "5432:5432"
restart: always
Expand Down

0 comments on commit ea8d8f7

Please sign in to comment.