🐳Docker
ws4sqlite provides a standard Docker image, based on Alpine, at Docker Hub. It's a multiarch image for amd64, ARM and ARM64.
Here are the relevant configurations:
Exposed port | 12321 | Fixed; remap it with |
Config dir |
| Fixed; remap it with |
Example
This command will install and run ws4sqlite, configuring it to:
Use port 8080 (Line 4);
Map a local dir to path
/data
in the docker environment (Line 5).Use free cli arguments, as it was the ws4sqlite binary (Line 7).
The rest of the lines in this example are standard Docker.
Caveats
You have to reference database and companion files that are in the directory mapped to
/data
as they were in/data
;The path for the database file should be absolute.
Last updated