Tweak for devcontainer docker compose (#6601)

- Do not use named volume
- Hardcode db path
This commit is contained in:
Oliver 2024-02-28 19:03:19 +11:00 committed by GitHub
parent 820d7c6a15
commit b192c44b61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: