Fix password not being set when regenerating .env in setup.sh
Remove the database init marker when regenerating .env file so that the docker entrypoint will re-run password initialization with the new INITIAL_PASSWORD value on next container start.
This commit is contained in:
4
setup.sh
4
setup.sh
@@ -79,6 +79,10 @@ CORS_ORIGINS=*
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo "✓ .env file created with secure keys"
|
echo "✓ .env file created with secure keys"
|
||||||
|
|
||||||
|
# Remove the init marker so the password gets set on next container start
|
||||||
|
rm -f data/.db_initialized
|
||||||
|
echo "✓ Password will be updated on next container start"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create required directories
|
# Create required directories
|
||||||
|
|||||||
Reference in New Issue
Block a user