Skip to content

Commit

Permalink
Revert "fix: docker compose depends on fix"
Browse files Browse the repository at this point in the history
This reverts commit 5886c14.
  • Loading branch information
Aadesh Kulkarni authored and Aadesh Kulkarni committed Mar 15, 2024
1 parent 5886c14 commit 8786492
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
.pnp.js
.yarn/install-state.gz

# docker volume
/postgres-data/

# testing
/coverage

Expand Down
11 changes: 2 additions & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@ services:
- .:/usr/src/app
- /usr/src/app/node_modules
depends_on:
db:
condition: service_healthy
- db

db:
image: postgres:9.6
container_name: db
restart: always
environment:
POSTGRES_USER: postgres
Expand All @@ -25,9 +23,4 @@ services:
ports:
- 5432:5432
volumes:
- ./postgres-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-U","postgres"]
interval: 10s
timeout: 5s
retries: 5
- /postgres-data:/var/lib/postgresql/data

0 comments on commit 8786492

Please sign in to comment.