mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix postgresql container (#6610)
- Linked volume caused permission issues
This commit is contained in:
parent
eb3d51f8a7
commit
c8d6f2246b
@ -7,7 +7,7 @@ services:
|
|||||||
expose:
|
expose:
|
||||||
- 5432/tcp
|
- 5432/tcp
|
||||||
volumes:
|
volumes:
|
||||||
- ../dev:/var/lib/postgresql/data:z
|
- ../dev/database:/var/lib/postgresql/data:z
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: inventree
|
POSTGRES_DB: inventree
|
||||||
POSTGRES_USER: inventree_user
|
POSTGRES_USER: inventree_user
|
||||||
|
@ -7,9 +7,13 @@ git config --global --add safe.directory /home/inventree
|
|||||||
python3 -m venv /home/inventree/dev/venv --system-site-packages --upgrade-deps
|
python3 -m venv /home/inventree/dev/venv --system-site-packages --upgrade-deps
|
||||||
. /home/inventree/dev/venv/bin/activate
|
. /home/inventree/dev/venv/bin/activate
|
||||||
|
|
||||||
# setup InvenTree server
|
# Run initial InvenTree server setup
|
||||||
invoke update -s
|
invoke update -s
|
||||||
|
|
||||||
|
# Configure dev environment
|
||||||
invoke setup-dev
|
invoke setup-dev
|
||||||
|
|
||||||
|
# Install required frontend packages
|
||||||
invoke frontend-install
|
invoke frontend-install
|
||||||
|
|
||||||
# remove existing gitconfig created by "Avoiding Dubious Ownership" step
|
# remove existing gitconfig created by "Avoiding Dubious Ownership" step
|
||||||
|
Loading…
Reference in New Issue
Block a user