Skip to content

Commit

Permalink
Merge pull request #21 from bheemreddy181/patch-1
Browse files Browse the repository at this point in the history
feat: update docker-compose to persist postgres data
  • Loading branch information
bethesque authored Mar 13, 2020
2 parents 301d843 + 682ac17 commit 97f082b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ services:
test: psql postgres --command "select 1" -U postgres
ports:
- "5432:5432"
volumes:
- postgres-volume:/var/lib/postgresql/data
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
Expand Down Expand Up @@ -39,3 +41,5 @@ services:
ports:
- "8443:443"
- "80:80"
volumes:
postgres-volume:

0 comments on commit 97f082b

Please sign in to comment.