mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Tweak for devcontainer docker compose (#6601)
- Do not use named volume - Hardcode db path
This commit is contained in:
parent
820d7c6a15
commit
b192c44b61
@ -7,7 +7,7 @@ services:
|
|||||||
expose:
|
expose:
|
||||||
- 5432/tcp
|
- 5432/tcp
|
||||||
volumes:
|
volumes:
|
||||||
- postgresql:/var/lib/postgresql/data:z
|
- ../dev:/var/lib/postgresql/data:z
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: inventree
|
POSTGRES_DB: inventree
|
||||||
POSTGRES_USER: inventree_user
|
POSTGRES_USER: inventree_user
|
||||||
@ -36,6 +36,3 @@ services:
|
|||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
|
||||||
volumes:
|
|
||||||
postgresql:
|
|
||||||
|
Loading…
Reference in New Issue
Block a user