mirror of
https://github.com/librespeed/speedtest.git
synced 2026-08-04 06:39:45 +00:00
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:
parent
fdd2fd24a6
commit
746824b77d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue