Skip to content

Commit

Permalink
Rename docker compose file names and docker-compose-test: scripts
Browse files Browse the repository at this point in the history
Compose file names are now more consistent.
Npm script is now shorter
  • Loading branch information
Francis Duvivier committed Dec 5, 2024
1 parent a6af53e commit b452048
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ be copied.
To start:

```bash
docker compose --file docker-compose-production.yml up --detach
docker compose --file docker-compose.production.yml up --detach
```

Then visit [http://localhost:9001/](http://localhost:9001/) for the production BadgeHub homepage
Expand All @@ -136,7 +136,7 @@ and [http://localhost:9002/](http://localhost:9002/) for PG_Admin, the UI for th
To wind down:

```bash
docker compose --file docker-compose-production.yml down
docker compose --file docker-compose.production.yml down
```

## Tools used
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"build": "tsc",
"swagger": "tsoa spec-and-routes",
"dev": "node --import tsx --watch src/index.ts",
"docker-compose-test:up": "docker compose -f compose.test.yml up -d",
"docker-compose-test:down": "docker compose -f compose.test.yml down",
"test-db:up": "docker compose -f docker-compose.test-db.yml up -d",
"test-db:down": "docker compose -f docker-compose.test-db.yml down",
"backup": "docker exec -it badgehub-api-db-1 /usr/bin/pg_dump --username badgehub badgehub -f /var/backup/data-backup-`date +\"%Y-%m-%dT%H:%m\"`.sql",
"test": "vitest --coverage.enabled true",
"db-migrate:up": "db-migrate up",
Expand Down

0 comments on commit b452048

Please sign in to comment.