Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Commit

Permalink
Store database on named volume
Browse files Browse the repository at this point in the history
  • Loading branch information
Allypost committed May 21, 2020
1 parent 012b3e8 commit 0163563
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ services:
POSTGRES_USER: 'postgres'
POSTGRES_DB: 'meetup'
volumes:
- /var/lib/postgresql/data
- jobfair-meetup-db:/var/lib/postgresql/data

volumes:
jobfair-meetup-db:

0 comments on commit 0163563

Please sign in to comment.