mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Fix env variable in docker entrypoint
This commit is contained in:
@@ -56,7 +56,7 @@ superuser() {
|
||||
wait_for_postgres
|
||||
fi
|
||||
|
||||
if [[ ! -z "${PAPERLESS_ADMIN_PASSWORD}" ]]
|
||||
if [[ ! -z "${PAPERLESS_ADMIN_USER}" ]]
|
||||
then
|
||||
sudo -HEu paperless python3 manage.py manage_superuser
|
||||
fi
|
||||
|
Reference in New Issue
Block a user