Skip to content

Commit

Permalink
docker-compose | added volume for postgres db
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Aug 2, 2022
1 parent 93e3c5f commit df1dcb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ services:
- POSTGRES_PASSWORD=${DB_PASSWORD-Postgres123}
healthcheck:
test: "pg_isready -U postgres"
volumes:
- postgres-data:/usr/share/postgres/data
redis:
image: redis:6.0.6-alpine
restart: "always"
Expand Down

0 comments on commit df1dcb7

Please sign in to comment.