mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
parent
dc03b33c35
commit
d39ab9c902
@ -7,7 +7,7 @@ services:
|
|||||||
expose:
|
expose:
|
||||||
- 5432/tcp
|
- 5432/tcp
|
||||||
volumes:
|
volumes:
|
||||||
- ../dev/database:/var/lib/postgresql/data:z
|
- inventreedatabase:/var/lib/postgresql/data:z
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: inventree
|
POSTGRES_DB: inventree
|
||||||
POSTGRES_USER: inventree_user
|
POSTGRES_USER: inventree_user
|
||||||
@ -19,7 +19,6 @@ services:
|
|||||||
target: dev
|
target: dev
|
||||||
args:
|
args:
|
||||||
base_image: "mcr.microsoft.com/vscode/devcontainers/base:alpine-3.18"
|
base_image: "mcr.microsoft.com/vscode/devcontainers/base:alpine-3.18"
|
||||||
workspace: "${containerWorkspaceFolder}"
|
|
||||||
data_dir: "dev"
|
data_dir: "dev"
|
||||||
volumes:
|
volumes:
|
||||||
- ../:/home/inventree:z
|
- ../:/home/inventree:z
|
||||||
@ -36,3 +35,6 @@ services:
|
|||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
inventreedatabase:
|
||||||
|
Loading…
Reference in New Issue
Block a user