Add settings file to configure LDAP Auth
This commit is contained in:
parent
739ba74051
commit
6287003d1a
@ -19,12 +19,14 @@ services:
|
|||||||
- 8000
|
- 8000
|
||||||
depends_on:
|
depends_on:
|
||||||
- inventree-db
|
- inventree-db
|
||||||
volumes:
|
volumes: &InvenTree_vols
|
||||||
- data:/home/inventree/data
|
- data:/home/inventree/data
|
||||||
|
- ./settings_prod.py:/home/inventree/InvenTree/InvenTree/settings_prod.py:ro
|
||||||
environment: &InvenTree_env
|
environment: &InvenTree_env
|
||||||
# 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"
|
||||||
|
DJANGO_SETTINGS_MODULE: "InvenTree.settings_prod"
|
||||||
|
|
||||||
INVENTREE_DB_ENGINE: "postgresql"
|
INVENTREE_DB_ENGINE: "postgresql"
|
||||||
INVENTREE_DB_HOST: "inventree-db"
|
INVENTREE_DB_HOST: "inventree-db"
|
||||||
@ -42,8 +44,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- inventree-db
|
- inventree-db
|
||||||
- inventree-server
|
- inventree-server
|
||||||
volumes:
|
volumes: *InvenTree_vols
|
||||||
- data:/home/inventree/data
|
|
||||||
environment: *InvenTree_env
|
environment: *InvenTree_env
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user