diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e121b0f..cbb02ef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ on: - main jobs: - app: + build: runs-on: ubuntu-latest permissions: id-token: write diff --git a/.github/workflows/provision.yml b/.github/workflows/provision.yml index c8399c2..72e8ae5 100644 --- a/.github/workflows/provision.yml +++ b/.github/workflows/provision.yml @@ -18,7 +18,7 @@ on: workflow_dispatch: jobs: - provisioning: + provision: runs-on: ubuntu-latest defaults: run: diff --git a/docker-compose.yml b/docker-compose.yml index f179fce..dc046ef 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: @@ -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