From b192c44b61890c3775039a911ebda35dbbccf7c9 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 28 Feb 2024 19:03:19 +1100 Subject: [PATCH] Tweak for devcontainer docker compose (#6601) - Do not use named volume - Hardcode db path --- .devcontainer/docker-compose.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index ad8faf193f..c7ea36b147 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -7,7 +7,7 @@ services: expose: - 5432/tcp volumes: - - postgresql:/var/lib/postgresql/data:z + - ../dev:/var/lib/postgresql/data:z environment: POSTGRES_DB: inventree POSTGRES_USER: inventree_user @@ -36,6 +36,3 @@ services: depends_on: - db - -volumes: - postgresql: