Skip to content

Commit

Permalink
Add postgres service for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed May 25, 2024
1 parent 1d68bc8 commit ff26658
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,15 @@ services:
ports:
- "8500:8500"
- "8501:8501"
postgres:
image: postgres:latest
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
ports:
- "5432:5432"

0 comments on commit ff26658

Please sign in to comment.