mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Fix env variable in docker entrypoint
This commit is contained in:
parent
0cc32e7ed7
commit
cb4e738a0f
@ -56,7 +56,7 @@ superuser() {
|
|||||||
wait_for_postgres
|
wait_for_postgres
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -z "${PAPERLESS_ADMIN_PASSWORD}" ]]
|
if [[ ! -z "${PAPERLESS_ADMIN_USER}" ]]
|
||||||
then
|
then
|
||||||
sudo -HEu paperless python3 manage.py manage_superuser
|
sudo -HEu paperless python3 manage.py manage_superuser
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user