Use a volume for postgres data in docker-compose.dev.yml
This commit is contained in:
parent
dcce9edc34
commit
097e5a246c
@ -40,5 +40,10 @@ services:
|
|||||||
image: "postgres:11"
|
image: "postgres:11"
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
|
volumes:
|
||||||
|
- data-volume:/var/lib/postgres/data
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_PASSWORD=8JN4w0UsN5dbjMjNvPe452P2yYOqg5PV
|
- POSTGRES_PASSWORD=8JN4w0UsN5dbjMjNvPe452P2yYOqg5PV
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
data-volume:
|
Loading…
x
Reference in New Issue
Block a user