You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -76,7 +76,7 @@ The following options can be passed as environment variables:
76
76
> [!TIP]
77
77
> Add an alias to your .bashrc or similar so you can just do `sqlarserver foo.db` to bring up the server, like so:
78
78
> ```bash
79
-
> alias sqlarserver='docker run -it --rm -v .:/srv -p 3939:80 -e TZ=America/Los_Angeles ghcr.io/maxkagamine/sqlarserver'
79
+
> alias sqlarserver='docker run -it --rm -v .:/srv -p 3939:80 -e TZ=America/Los_Angeles kagamine/sqlarserver'
80
80
>```
81
81
82
82
## Running the FTP server
@@ -100,7 +100,7 @@ Although, in the absence of support for sqlar in traditional archive tools (7-Zi
100
100
+-p 21:21 \
101
101
+-p 10000-10009:10000-10009 \
102
102
+-e EnableFtp=true \
103
-
ghcr.io/maxkagamine/sqlarserver sqlite.sqlar
103
+
kagamine/sqlarserver sqlite.sqlar
104
104
```
105
105
106
106
Port 21 can be mapped to whatever, but the PASV¹ port range, 10000-10009, needs to be the same on both the host and container since part of the FTP protocol involves the server telling the client what IP and port to connect to for data transfer. You can change it by setting `FtpPasvPorts`. If the server's not running on localhost, you'll need to set `FtpPasvAddress` to whatever IP address you put in your FTP client.
@@ -116,7 +116,7 @@ If you set `StaticSite` to true, it'll disable directory listings and instead se
I don't know why you'd _actually_ do this; in fact the server sets `no-cache` which makes it pretty bad for a website (perhaps that could be made configurable or disabled when `StaticSite` is active, though). But it's an interesting concept, like a modern alternative to MHTML¹.
0 commit comments