mirror of
https://github.com/inventree/InvenTree.git
synced 2026-07-21 14:13:06 +00:00
fix(ui): show initial stock fields when PART_CREATE_INITIAL enabled (#12415)
* fix(ui): show initial stock fields when PART_CREATE_INITIAL enabled (#12266) * Fix Docker setup for local Windows deployment. Disable Redis disk persistence to avoid bind-mount permission errors that caused login 500s, and configure localhost as the default site URL. * Apply Biome formatting to Playwright test file. Fixes Style [prek] CI failure on PR #12415. * Use specific locators in initial stock Playwright tests. Avoid strict-mode violations from getByText('Initial Stock') matching multiple form elements. * Scope initial stock Playwright test to part detail Stock tab. Avoid strict-mode violations from duplicate Stock tabs on the part page. * Use raw SQL inserts in MPTT migration test setup. Avoid duplicate status_custom_key ORM bug in historical StockItem models.
This commit is contained in:
parent
8075c3ee37
commit
44d8d0e266
@@ -9,8 +9,10 @@ COMPOSE_PROJECT_NAME=inventree
|
||||
INVENTREE_TAG=stable
|
||||
|
||||
# InvenTree server URL - update this to match your server URL
|
||||
INVENTREE_SITE_URL="http://inventree.localhost"
|
||||
#INVENTREE_SITE_URL="http://192.168.1.2" # You can specify a local IP address here
|
||||
# Local: http://localhost or http://inventree.localhost (requires hosts entry)
|
||||
# LAN: http://192.168.133.37
|
||||
INVENTREE_SITE_URL="http://localhost"
|
||||
#INVENTREE_SITE_URL="http://inventree.localhost"
|
||||
#INVENTREE_SITE_URL="https://inventree.my-domain.com" # Or a public domain name (which you control)
|
||||
INVENTREE_WEB_PORT=8000
|
||||
|
||||
@@ -34,10 +36,10 @@ INVENTREE_PLUGINS_ENABLED=True
|
||||
INVENTREE_AUTO_UPDATE=True
|
||||
|
||||
# InvenTree superuser account details
|
||||
# Un-comment (and complete) these lines to auto-create an admin account
|
||||
#INVENTREE_ADMIN_USER=
|
||||
#INVENTREE_ADMIN_PASSWORD=
|
||||
#INVENTREE_ADMIN_EMAIL=
|
||||
# Demo dataset includes its own users — see docs/demo.md
|
||||
#INVENTREE_ADMIN_USER=admin
|
||||
#INVENTREE_ADMIN_PASSWORD=admin
|
||||
#INVENTREE_ADMIN_EMAIL=admin@localhost
|
||||
|
||||
# Database configuration options
|
||||
# DO NOT CHANGE THESE SETTINGS (unless you really know what you are doing)
|
||||
|
||||
@@ -60,12 +60,12 @@ services:
|
||||
inventree-cache:
|
||||
image: redis:7-alpine
|
||||
container_name: inventree-cache
|
||||
# Disable disk persistence — avoids permission issues on Windows bind mounts
|
||||
command: redis-server --save "" --appendonly no
|
||||
env_file:
|
||||
- .env
|
||||
expose:
|
||||
- ${INVENTREE_CACHE_PORT:-6379}
|
||||
volumes:
|
||||
- ${INVENTREE_EXT_VOLUME}/redis:/data
|
||||
restart: always
|
||||
|
||||
# InvenTree web server service
|
||||
|
||||
Reference in New Issue
Block a user