ci(docker): add volume to store data for postgres in compose
This commit is contained in:
parent
df321f8795
commit
18fec5a866
1 changed files with 3 additions and 1 deletions
|
@ -13,4 +13,6 @@ services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:alpine
|
image: postgres:alpine
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
volumes:
|
||||||
|
- ./data:/var/lib/postgresql/data
|
Loading…
Add table
Add a link
Reference in a new issue