mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
Fix env file reference for docker-compose.yml (development)
This commit is contained in:
parent
85feb30812
commit
e87e478009
@ -54,8 +54,7 @@ services:
|
|||||||
# Ensure you specify the location of the 'src' directory at the end of this file
|
# Ensure you specify the location of the 'src' directory at the end of this file
|
||||||
- inventree_src:/home/inventree
|
- inventree_src:/home/inventree
|
||||||
env_file:
|
env_file:
|
||||||
# Environment variables required for the dev server are configured in dev-config.env
|
- .env
|
||||||
- dev-config.env
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
# Background worker process handles long-running or periodic tasks
|
# Background worker process handles long-running or periodic tasks
|
||||||
@ -71,8 +70,7 @@ services:
|
|||||||
# Ensure you specify the location of the 'src' directory at the end of this file
|
# Ensure you specify the location of the 'src' directory at the end of this file
|
||||||
- inventree_src:/home/inventree
|
- inventree_src:/home/inventree
|
||||||
env_file:
|
env_file:
|
||||||
# Environment variables required for the dev server are configured in dev-config.env
|
- .env
|
||||||
- dev-config.env
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
### Optional: Serve static and media files using nginx
|
### Optional: Serve static and media files using nginx
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
# Default web port for the InvenTree server
|
# Default web port for the InvenTree server
|
||||||
INVENTREE_WEB_PORT=1337
|
INVENTREE_WEB_PORT=1337
|
||||||
|
|
||||||
# Ensure DEBUG is False for a production setup
|
# Ensure debug is false for a production setup
|
||||||
INVENTREE_DEBUG=False
|
INVENTREE_DEBUG=False
|
||||||
INVENTREE_LOG_LEVEL=WARNING
|
INVENTREE_LOG_LEVEL=WARNING
|
||||||
|
|
||||||
# Database configuration options
|
# Database configuration options
|
||||||
# Note: The example setup is for a PostgreSQL database (change as required)
|
# Note: The example setup is for a PostgreSQL database
|
||||||
INVENTREE_DB_ENGINE=postgresql
|
INVENTREE_DB_ENGINE=postgresql
|
||||||
INVENTREE_DB_NAME=inventree
|
INVENTREE_DB_NAME=inventree
|
||||||
INVENTREE_DB_HOST=inventree-db
|
INVENTREE_DB_HOST=inventree-db
|
||||||
|
Loading…
x
Reference in New Issue
Block a user