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:
2025-11-19 19:53:40 -06:00
parent 0ec338e252
commit 30a29142a0

View File

@@ -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