Specify volume for database in docker-compose.yml

This commit is contained in:
Ske 2019-07-15 16:51:43 +02:00
parent d464229442
commit 7f40b300b4

View File

@ -32,4 +32,9 @@ services:
restart: always
db:
image: postgres:alpine
volumes:
- "db_data:/var/lib/postgresql/data"
restart: always
volumes:
db_data: