mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-12 01:55:39 +00:00
docker-compose improvements
- Prepend "inventree" to the name of each container - Explicitly expose more env variables required for InvenTree db lookup - Adjust server name in nginx-conf file
This commit is contained in:
@ -29,16 +29,6 @@ ENV INVENTREE_SECRET_KEY_FILE="${INVENTREE_DATA_DIR}/secret_key.txt"
|
||||
# Default web server port is 8000
|
||||
ENV INVENTREE_WEB_PORT="8000"
|
||||
|
||||
# Pass DB configuration through as environment variables
|
||||
# Default configuration = postgresql
|
||||
ENV INVENTREE_DB_ENGINE="postgresql"
|
||||
ENV INVENTREE_DB_NAME="inventree"
|
||||
ENV INVENTREE_DB_HOST="db"
|
||||
ENV INVENTREE_DB_PORT="5432"
|
||||
|
||||
# INVENTREE_DB_USER must be specified at run-time
|
||||
# INVENTREE_DB_PASSWORD must be specified at run-time
|
||||
|
||||
LABEL org.label-schema.schema-version="1.0" \
|
||||
org.label-schema.build-date=${DATE} \
|
||||
org.label-schema.vendor="inventree" \
|
||||
|
Reference in New Issue
Block a user