mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-06 16:20:30 +00:00
Fix env variable in docker entrypoint
This commit is contained in:
1 parent
0cc32e7ed7
commit
cb4e738a0f
1 file changed
+1
-1
@@ -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