2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-04-27 21:26:43 +00:00

Update docker_prod.md

Ref: https://github.com/inventree/InvenTree/pull/2852

Adds note about changing username and password for database access
This commit is contained in:
Oliver 2022-04-21 01:06:58 +10:00 committed by GitHub
parent f54b574f3a
commit b25fa32128
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,10 +78,10 @@ InvenTree stores data which is meant to be persistent (e.g. uploaded media files
The first step is to edit the environment variables, located in the `.env` file.
!!! warning "External Volume"
The only *mandatory* change is to define the `INVENTREE_EXT_VOLUME` variable - this must point to a directory *on your local machine* where persistent data is to be stored.
You must define the `INVENTREE_EXT_VOLUME` variable - this must point to a directory *on your local machine* where persistent data is to be stored.
!!! info "Database Credentials"
You may also wish to change the database username (`INVENTREE_DB_USER`) and password (`INVENTREE_DB_PASSWORD`) from their default values
!!! warning "Database Credentials"
You must also define the database username (`INVENTREE_DB_USER`) and password (`INVENTREE_DB_PASSWORD`). You should ensure they are changed from the default values for added security
### Create Database