Skip to content

ebiiim/sqlite-web-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sqlite-web-docker

GitHub GitHub release (latest SemVer) Release

Yet another Docker image for coleifer/sqlite-web.

Usage

💡 Please read sqlite-web docs before using this image.

The entrypoint is sqlite_web --no-browser -H 0.0.0.0 so please give additional arguments and the DB path.

docker run [ARGS]... ghcr.io/ebiiim/sqlite-web[:VERSION] [ARGS]... <DB_PATH>
docker run --rm \
  -p 8080:8080 \
  -v /path/to/app.db:/data/app.db \
  ghcr.io/ebiiim/sqlite-web /data/app.db

Read-only mode

Set -r or --read-only

  docker run --rm \
    -p 8080:8080 \
    -v /path/to/app.db:/data/app.db \
-   ghcr.io/ebiiim/sqlite-web /data/app.db
+   ghcr.io/ebiiim/sqlite-web --read-only /data/app.db

Password authentication

Set -P or --password and store the password to SQLITE_WEB_PASSWORD.

  docker run --rm \
    -p 8080:8080 \
+   -e SQLITE_WEB_PASSWORD=hogehoge \
    -v /path/to/app.db:/database/app.db \
-   ghcr.io/ebiiim/sqlite-web /data/app.db
+   ghcr.io/ebiiim/sqlite-web --password /data/app.db

Changelog

We use the same version as sqlite-web.

  • 2023-04-06 v0.4.1
    • initial release
    • coleifer/sqlite-web: 0.4.1 2022-12-09