write the db data into a local folder
I prefer to have everything related to a project in one single directory that way I know where to look for it.
This commit is contained in:
parent
9800126def
commit
f81fabdaee
|
@ -1,8 +1,5 @@
|
|||
version: '3'
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres
|
||||
|
@ -10,7 +7,7 @@ services:
|
|||
- POSTGRES_DB
|
||||
- POSTGRES_PASSWORD
|
||||
volumes:
|
||||
- db_data:/var/lib/postgresql/data/
|
||||
- ./db_data:/var/lib/postgresql/data/
|
||||
|
||||
web:
|
||||
image: nebucatnetzer/network_inventory
|
||||
|
|
Loading…
Reference in New Issue