fix: update docker entrypoint sqlite db matching (#746)

* fix: update docker entrypoint sqlite db matching

* fixup! fix: update docker entrypoint sqlite db matching

---------

Co-authored-by: sventec <18218761+sventec@users.noreply.github.com>
This commit is contained in:
sventec 2026-01-04 12:17:03 +00:00 committed by GitHub
parent fdd2fd24a6
commit 746824b77d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,7 +75,7 @@ if [[ "$TELEMETRY" == "true" && ("$MODE" == "frontend" || "$MODE" == "standalone
# Override SQLite database path for Docker environment
# In Docker, we use /database/db.sql which is outside the web-accessible directory
sed -i s/\$Sqlite_db_file\ =\ \'.*\'/\$Sqlite_db_file=\'\\\/database\\\/db.sql\'/g /var/www/html/results/telemetry_settings.php
sed -i s/\$Sqlite_db_file\ =\ .*\'/\$Sqlite_db_file=\'\\\/database\\\/db.sql\'/g /var/www/html/results/telemetry_settings.php
sed -i s/\$stats_password\ =\ \'.*\'/\$stats_password\ =\ \'$PASSWORD\'/g /var/www/html/results/telemetry_settings.php
if [ "$ENABLE_ID_OBFUSCATION" == "true" ]; then