Skip to content

Commit 38228eb

Browse files
committed
Update instruction on running docker image
1 parent 7e0c520 commit 38228eb

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

docs/en/docs/getting-started.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@ pip install -U "comiclib[full] @ git+https://github.com/comiclib/comiclib.git"
4040
docker run -p 8000:8000 \
4141
--mount type=bind,source=<YOUR_COMIC_DIRECTORY_HERE>,target=/root/comiclib \
4242
--mount type=bind,source=<USER_DATA_PATH>,target=/userdata \
43-
urenko/comiclib
43+
ghcr.io/comiclib/comiclib:master
4444
```
45-
ComicLib now runs at http://localhost:8000 . If you want to use `api_dump.sqlite`, please put it under `/userdata`.
45+
ComicLib now runs at http://localhost:8000 . If you want to use `api_dump.sqlite`, please put it under `/userdata`.
46+
47+
Or you can use images with `-full` suffix to include `api_dump.sqlite` in the image, however the image size is much larger.
4648

4749
P.S.: Monitoring comic folders is disabled by default for Docker currently.
4850

docs/zh/docs/getting-started.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,12 @@ pip install -U "comiclib[full] @ git+https://github.com/comiclib/comiclib.git"
4040
docker run -p 8000:8000 \
4141
--mount type=bind,source=你的漫画库路径,target=/root/comiclib \
4242
--mount type=bind,source=你的数据路径,target=/userdata \
43-
urenko/comiclib
43+
ghcr.io/comiclib/comiclib:master
4444
```
4545
现在 ComicLib 运行在了 http://localhost:8000 。如果你想要使用 `api_dump.sqlite`, 请手动下载并将其放在 `/userdata` 下。
4646

47+
或者你可以使用带有 `-full` 后缀的镜像,其中包含了 `api_dump.sqlite`,但镜像大小会大很多。
48+
4749
注:目前监视漫画文件夹默认对 Docker 禁用。
4850

4951

0 commit comments

Comments
 (0)