Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
Persistent volume for PostgreSQL Docker container, closes #605
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed May 26, 2021
1 parent 024b92c commit cf8ba7d
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
@@ -1,5 +1,7 @@
version: "3.1"

volumes:
vial-postgresql-data:
services:
database:
image: postgis/postgis:13-3.1
Expand All @@ -8,6 +10,8 @@ services:
- "5432"
ports:
- "5432:5432"
volumes:
- vial-postgresql-data:/var/lib/postgresql/data
environment:
POSTGRES_USER: postgres
POSTGRES_DB: vaccinate
Expand Down

0 comments on commit cf8ba7d

Please sign in to comment.