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