kopia lustrzana https://github.com/linuxserver/docker-documentation
Bot Updating Documentation
rodzic
4da72a3558
commit
ef5a7889ab
|
@ -55,7 +55,7 @@ On the initial setup screen, enter `/books` as your calibre library location.
|
||||||
*Username:* admin
|
*Username:* admin
|
||||||
*Password:* admin123
|
*Password:* admin123
|
||||||
|
|
||||||
If you lock yourself out or forget a password, you will need to specify the app.db similar to this:
|
If you lock yourself out or forget a password, you will need to specify the app.db similar to this:
|
||||||
`docker exec -it calibre-web python3 /app/calibre-web/cps.py -p /config/app.db -s <user>:<pass>`
|
`docker exec -it calibre-web python3 /app/calibre-web/cps.py -p /config/app.db -s <user>:<pass>`
|
||||||
If you fail to specify the proper db, it will appear to succeed, but it will not work.
|
If you fail to specify the proper db, it will appear to succeed, but it will not work.
|
||||||
|
|
||||||
|
@ -71,6 +71,10 @@ This image contains the [kepubify](https://pgaskin.net/kepubify/) ebook conversi
|
||||||
|
|
||||||
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
|
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
|
||||||
|
|
||||||
|
!!! info
|
||||||
|
|
||||||
|
Unless a parameter is flaged as 'optional', it is *mandatory* and a value must be provided.
|
||||||
|
|
||||||
### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
|
### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -86,7 +90,7 @@ services:
|
||||||
- DOCKER_MODS=linuxserver/mods:universal-calibre #optional
|
- DOCKER_MODS=linuxserver/mods:universal-calibre #optional
|
||||||
- OAUTHLIB_RELAX_TOKEN_SCOPE=1 #optional
|
- OAUTHLIB_RELAX_TOKEN_SCOPE=1 #optional
|
||||||
volumes:
|
volumes:
|
||||||
- /path/to/data:/config
|
- /path/to/calibre-web/data:/config
|
||||||
- /path/to/calibre/library:/books
|
- /path/to/calibre/library:/books
|
||||||
ports:
|
ports:
|
||||||
- 8083:8083
|
- 8083:8083
|
||||||
|
@ -104,7 +108,7 @@ docker run -d \
|
||||||
-e DOCKER_MODS=linuxserver/mods:universal-calibre `#optional` \
|
-e DOCKER_MODS=linuxserver/mods:universal-calibre `#optional` \
|
||||||
-e OAUTHLIB_RELAX_TOKEN_SCOPE=1 `#optional` \
|
-e OAUTHLIB_RELAX_TOKEN_SCOPE=1 `#optional` \
|
||||||
-p 8083:8083 \
|
-p 8083:8083 \
|
||||||
-v /path/to/data:/config \
|
-v /path/to/calibre-web/data:/config \
|
||||||
-v /path/to/calibre/library:/books \
|
-v /path/to/calibre/library:/books \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
lscr.io/linuxserver/calibre-web:latest
|
lscr.io/linuxserver/calibre-web:latest
|
||||||
|
@ -118,7 +122,7 @@ Containers are configured using parameters passed at runtime (such as those abov
|
||||||
|
|
||||||
| Parameter | Function |
|
| Parameter | Function |
|
||||||
| :----: | --- |
|
| :----: | --- |
|
||||||
| `8083` | WebUI |
|
| `8083:8083` | WebUI |
|
||||||
|
|
||||||
### Environment Variables (`-e`)
|
### Environment Variables (`-e`)
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue