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