Revert "mapp the db volume to a local directory"
This reverts commit 008eb834c0
.
For development it's currently easier if it's a normal docker volume otherwise
some editors like Visual Studio Code freak out because they can't access the
db_data folder.
This commit is contained in:
parent
3a9b5cfbde
commit
abe7c93b18
|
@ -1,5 +1,8 @@
|
|||
version: '3'
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres
|
||||
|
@ -7,7 +10,7 @@ services:
|
|||
- POSTGRES_DB=network_inventory
|
||||
- POSTGRES_PASSWORD=password
|
||||
volumes:
|
||||
- ./db_data:/var/lib/postgresql/data
|
||||
- db_data:/var/lib/postgresql/data/
|
||||
|
||||
web:
|
||||
build: .
|
||||
|
|
Loading…
Reference in New Issue