Skip to content

Commit

Permalink
persistant db volume (getzep#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielchalef authored Sep 21, 2023
1 parent e5b0961 commit c7296f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ services:
dockerfile: Dockerfile.postgres
networks:
- zep-network
volumes:
- zep-db:/var/lib/postgresql/data
healthcheck:
test: [ "CMD", "pg_isready", "-q", "-d", "postgres", "-U", "postgres" ]
interval: 5s
Expand Down Expand Up @@ -71,4 +73,5 @@ services:
networks:
zep-network:
driver: bridge

volumes:
zep-db:

0 comments on commit c7296f9

Please sign in to comment.