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
|
||||
fi
|
||||
|
||||
if [[ ! -z "${PAPERLESS_ADMIN_PASSWORD}" ]]
|
||||
if [[ ! -z "${PAPERLESS_ADMIN_USER}" ]]
|
||||
then
|
||||
sudo -HEu paperless python3 manage.py manage_superuser
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user