Specify volume for database in docker-compose.yml
This commit is contained in:
parent
d464229442
commit
7f40b300b4
@ -32,4 +32,9 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
db:
|
db:
|
||||||
image: postgres:alpine
|
image: postgres:alpine
|
||||||
restart: always
|
volumes:
|
||||||
|
- "db_data:/var/lib/postgresql/data"
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
db_data:
|
Loading…
Reference in New Issue
Block a user