Skip to content

Commit

Permalink
chore: use the latest docker compose files naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
diyor28 committed Feb 16, 2025
1 parent 72fd769 commit da21a7c
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
BRANCH_NAME: ${{ github.ref_name }}
COMMIT_SHA: ${{ github.sha }}
run: docker compose -f docker-compose.staging.yml up -d --build
run: docker compose -f compose.staging.yml up -d --build

4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ graph:

# Run tests inside docker
test-docker:
docker compose -f docker-compose.testing.yml up --build erp_local
docker compose -f compose.testing.yml up --build erp_local

coverage-score:
go tool cover -func ./coverage/coverage.out | grep "total:" | awk '{print ((int($$3) > 80) != 1) }'
Expand All @@ -37,7 +37,7 @@ report:

# Run PostgreSQL
localdb:
docker compose -f docker-compose.dev.yml up
docker compose -f compose.dev.yml up

clear-localdb:
rm -rf postgres-data/
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions py-embed/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Instructions on how to use the project. Include code snippets and examples where

```bash
# Run the database
docker compose -f docker-compose.dev.yml up -d db
docker compose -f compose.dev.yml up -d db

# Running the main script
uvicorn app.main:app --reload
Expand All @@ -58,4 +58,4 @@ List of features implemented in the project.

## Swagger

Swagger docs available at http://localhost:8000/docs
Swagger docs available at http://localhost:8000/docs

0 comments on commit da21a7c

Please sign in to comment.