Skip to content

Commit

Permalink
Fix for #192 added PV for postgres (#193)
Browse files Browse the repository at this point in the history
* 192_PV_for_postgres

* Fix for #192 added persistent volume for postgres
  • Loading branch information
Cbkhare authored Jun 26, 2020
1 parent 09c2c91 commit adf2ebb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ services:
POSTGRES_USER: tinkerbell
volumes:
- ./db/tinkerbell-init.sql:/docker-entrypoint-initdb.d/tinkerbell-init.sql:ro
- postgres_data:/var/lib/postgresql/data:rw
ports:
- 5432:5432
healthcheck:
Expand Down Expand Up @@ -149,3 +150,6 @@ services:
depends_on:
db:
condition: service_healthy

volumes:
postgres_data:

0 comments on commit adf2ebb

Please sign in to comment.