Skip to content

Commit b2901f3

Browse files
authored
Merge pull request #330 from linuxserver/nightly-readme-update
2 parents 49c343d + 0f9344b commit b2901f3

File tree

1 file changed

+75
-93
lines changed

1 file changed

+75
-93
lines changed

readme-vars.yml

Lines changed: 75 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -10,115 +10,97 @@ project_blurb: |
1010
[{{ project_name|capitalize }}]({{ project_url }}) is a web app providing a clean interface for browsing, reading and downloading eBooks using an existing Calibre database. It is also possible to integrate google drive and edit metadata and your calibre library through the app itself.
1111
1212
This software is a fork of library and licensed under the GPL v3 License.
13+
1314
# supported architectures
1415
available_architectures:
15-
- {arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
16-
- {arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
16+
- { arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
17+
- { arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
18+
1719
# development version
1820
development_versions: true
1921
development_versions_items:
20-
- {tag: "latest", desc: "Releases of Calibre-Web"}
21-
- {tag: "nightly", desc: "Commits to the master branch of Calibre-Web"}
22+
- { tag: "latest", desc: "Releases of Calibre-Web" }
23+
- { tag: "nightly", desc: "Commits to the master branch of Calibre-Web" }
24+
2225
# container parameters
2326
common_param_env_vars_enabled: true
2427
param_container_name: "{{ project_name }}"
2528
param_usage_include_env: true
2629
param_env_vars:
27-
- {env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London."}
28-
- {env_var: "DOCKER_MODS", env_value: "linuxserver/mods:universal-calibre", desc: "#optional & **x86-64 only** Adds the ability to perform ebook conversion"}
30+
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London." }
2931
param_usage_include_vols: true
3032
param_volumes:
31-
- {vol_path: "/config", vol_host_path: "/path/to/data", desc: "Where calibre-web stores the internal database and config."}
32-
- {vol_path: "/books", vol_host_path: "/path/to/calibre/library", desc: "Where your preexisting calibre database is locate."}
33+
- { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/data", desc: "Where calibre-web stores the internal database and config." }
34+
- { vol_path: "/books", vol_host_path: "/path/to/calibre/library", desc: "Where your preexisting calibre database is located." }
3335
param_usage_include_ports: true
3436
param_ports:
35-
- {external_port: "8083", internal_port: "8083", port_desc: "WebUI"}
37+
- { external_port: "8083", internal_port: "8083", port_desc: "WebUI" }
38+
3639
# optional container parameters
37-
opt_param_usage_include_env: false
38-
opt_param_usage_include_vols: false
39-
opt_param_usage_include_ports: false
40-
opt_param_device_map: false
41-
opt_cap_add_param: false
42-
optional_block_1: false
40+
opt_param_usage_include_env: true
41+
opt_param_env_vars:
42+
- { env_var: "DOCKER_MODS", env_value: "linuxserver/mods:universal-calibre", desc: "#optional & **x86-64 only** Adds the ability to perform ebook conversion"}
43+
- { env_var: "OAUTHLIB_RELAX_TOKEN_SCOPE", env_value: "1", desc: "Optionally set this to allow Google OAUTH to work" }
44+
4345
# application setup block
4446
app_setup_block_enabled: true
45-
app_setup_block: "Webui can be found at `http://your-ip:8083`\n\nOn the initial setup screen, enter `/books` as your calibre library location.\n\n**Default admin login:**\n*Username:* admin\n*Password:* admin123\n\nIf you lock yourself out or forget a password, you will need to specify the app.db similar to this: \n`docker exec -it calibre-web python3 /app/calibre-web/cps.py -p /config/app.db -s <user>:<pass>`\nIf you fail to specify the proper db, it will appear to succeed, but it will not work.\n\nUnrar is included by default and needs to be set in the Calibre-Web admin page (Basic Configuration:External Binaries) with a path of `/usr/bin/unrar`\n\n**x86-64 only** We have implemented the optional ability to pull in the dependencies to enable ebook conversion utilising Calibre, this means if you don't require this feature the container isn't uneccessarily bloated but should you require it, it is easily available.\nThis optional layer will be rebuilt automatically on our CI pipeline upon new Calibre releases so you can stay up to date.\nTo use this option add the optional environmental variable as detailed above to pull an addition docker layer to enable ebook conversion and then in the Calibre-Web admin page (Basic Configuration:External Binaries) set the **Path to Calibre E-Book Converter** to `/usr/bin/ebook-convert` on versions 0.6.21 and lower. For 0.6.22 and higher, set the directory, `/usr/bin/` only.\n\nThis image contains the [kepubify](https://pgaskin.net/kepubify/) ebook conversion tool (MIT License) to convert epub to kepub. In the Calibre-Web admin page (Basic Configuration:External Binaries) set the **Path to Kepubify E-Book Converter** to `/usr/bin/kepubify`\n"
46-
# init diagram
47-
init_diagram: |
48-
"calibre-web:nightly": {
49-
docker-mods
50-
base {
51-
fix-attr +\nlegacy cont-init
52-
}
53-
docker-mods -> base
54-
legacy-services
55-
custom services
56-
init-services -> legacy-services
57-
init-services -> custom services
58-
custom services -> legacy-services
59-
legacy-services -> ci-service-check
60-
init-migrations -> init-adduser
61-
init-config -> init-calibre-web-config
62-
init-os-end -> init-config
63-
init-calibre-web-config -> init-config-end
64-
init-config -> init-config-end
65-
init-os-end -> init-crontab-config
66-
init-mods-end -> init-custom-files
67-
base -> init-envfile
68-
base -> init-migrations
69-
base -> init-mods
70-
init-config-end -> init-mods
71-
init-mods -> init-mods-end
72-
init-mods-package-install -> init-mods-end
73-
init-mods -> init-mods-package-install
74-
base -> init-os-end
75-
init-adduser -> init-os-end
76-
init-envfile -> init-os-end
77-
init-migrations -> init-os-end
78-
init-custom-files -> init-services
79-
init-mods-end -> init-services
80-
init-services -> svc-calibre-web
81-
svc-calibre-web -> legacy-services
82-
init-services -> svc-cron
83-
svc-cron -> legacy-services
84-
}
85-
Base Images: {
86-
"baseimage-ubuntu:jammy"
87-
}
88-
"calibre-web:nightly" <- Base Images
47+
app_setup_block: |
48+
Webui can be found at `http://your-ip:8083`
49+
50+
On the initial setup screen, enter `/books` as your calibre library location.
51+
52+
**Default admin login:**
53+
*Username:* admin
54+
*Password:* admin123
55+
56+
If you lock yourself out or forget a password, you will need to specify the app.db similar to this:
57+
`docker exec -it calibre-web python3 /app/calibre-web/cps.py -p /config/app.db -s <user>:<pass>`
58+
If you fail to specify the proper db, it will appear to succeed, but it will not work.
59+
60+
Unrar is included by default and needs to be set in the Calibre-Web admin page (Basic Configuration:External Binaries) with a path of `/usr/bin/unrar`
61+
62+
**64bit only** We have implemented the optional ability to pull in the dependencies to enable ebook conversion utilising Calibre, this means if you don't require this feature the container isn't uneccessarily bloated but should you require it, it is easily available.
63+
This optional layer will be rebuilt automatically on our CI pipeline upon new Calibre releases so you can stay up to date.
64+
To use this option add the optional environmental variable as shown in the docker-mods section to pull an addition docker layer to enable ebook conversion and then in the Calibre-Web admin page (Basic Configuration:External Binaries) set the **Path to Calibre E-Book Converter** to `/usr/bin/ebook-convert` on versions 0.6.21 and lower. For 0.6.22 and higher, set the directory, `/usr/bin/` only.
65+
66+
This image contains the [kepubify](https://pgaskin.net/kepubify/) ebook conversion tool (MIT License) to convert epub to kepub. In the Calibre-Web admin page (Basic Configuration:External Binaries) set the **Path to Kepubify E-Book Converter** to `/usr/bin/kepubify`
67+
68+
8969
# changelog
9070
changelogs:
91-
- {date: "26.08.24:", desc: "Add new dep, xdg-utils."}
92-
- {date: "07.07.24:", desc: "Add new dep, libmagic1."}
93-
- {date: "17.10.23:", desc: "Remove some packages that are required by the calibre mod but not the base container."}
94-
- {date: "07.10.23:", desc: "Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar). Switch to Python virtual environment."}
95-
- {date: "13.04.23:", desc: "Deprecate armhf."}
96-
- {date: "29.01.23:", desc: "Add cmake as build dep for Levenshtein."}
97-
- {date: "27.12.22:", desc: "Add ghostscript, libxtst6, libxkbfile-dev."}
98-
- {date: "20.12.22:", desc: "Improve init script and prevent harmless error."}
99-
- {date: "22.10.22:", desc: "Rebase to jammy. Upgrade to s6v3. Clean up build dependencies."}
100-
- {date: "04.11.21:", desc: "Fix pip arguments"}
101-
- {date: "10.02.21:", desc: "Add libxrandr2"}
102-
- {date: "25.01.21:", desc: "Add nightly tag"}
103-
- {date: "19.01.21:", desc: "Add python3-pkg-resources"}
104-
- {date: "13.01.21:", desc: "Rebase to Ubuntu Focal, see [here](https://docs.linuxserver.io/faq#my-host-is-incompatible-with-images-based-on-ubuntu-focal) for troubleshooting armhf."}
105-
- {date: "12.10.20:", desc: "Add libxi6"}
106-
- {date: "12.07.20:", desc: "Add kepubify for arm64v8"}
107-
- {date: "05.06.20:", desc: "Add kepubify for x86-64 and arm32v7"}
108-
- {date: "06.05.20:", desc: "Add libxslt1.1 and update ImageMagick policy"}
109-
- {date: "19.01.20:", desc: "Adding LDAP libs."}
110-
- {date: "13.10.19:", desc: "Migrate to Python3."}
111-
- {date: "01.08.19:", desc: "Add libxcomposite1."}
112-
- {date: "13.06.19:", desc: "Add docker mod to enable optional ebook conversion on x86-64. Add unrar."}
113-
- {date: "02.06.19:", desc: "Rebase to Ubuntu Bionic & add Gdrive support."}
114-
- {date: "23.03.19:", desc: "Switching to new Base images, shift to arm32v7 tag."}
115-
- {date: "23.02.19:", desc: "Rebase to alpine 3.9, use repo version of imagemagick."}
116-
- {date: "11.02.19:", desc: "Add pipeline logic and multi arch."}
117-
- {date: "03.01.19:", desc: "Remove guest user from default app.db."}
118-
- {date: "16.08.18:", desc: "Rebase to alpine 3.8."}
119-
- {date: "03.07.18:", desc: "New build pushed, all versions below `67` have [vulnerability](https://github.com/janeczku/calibre-web/issues/534)."}
120-
- {date: "05.01.18:", desc: "Deprecate cpu_core routine lack of scaling."}
121-
- {date: "06.12.17:", desc: "Rebase to alpine 3.7."}
122-
- {date: "27.11.17:", desc: "Use cpu core counting routine to speed up build time."}
123-
- {date: "24.07.17:", desc: "Curl version for imagemagick."}
124-
- {date: "17.07.17:", desc: "Initial release."}
71+
- { date: "26.08.24:", desc: "Add new dep, xdg-utils."}
72+
- { date: "07.07.24:", desc: "Add new dep, libmagic1."}
73+
- { date: "17.10.23:", desc: "Remove some packages that are required by the calibre mod but not the base container."}
74+
- { date: "07.10.23:", desc: "Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar). Switch to Python virtual environment."}
75+
- { date: "13.04.23:", desc: "Deprecate armhf."}
76+
- { date: "27.03.23:", desc: "Add cmake as build dep for Levenshtein."}
77+
- { date: "27.12.22:", desc: "Add ghostscript, libxtst6, libxkbfile-dev."}
78+
- { date: "20.12.22:", desc: "Improve init script and prevent harmless error."}
79+
- { date: "19.10.22:", desc: "Rebase to jammy. Upgrade to s6v3. Clean up build dependencies."}
80+
- { date: "04.11.21:", desc: "Update pip arguments to ignore distro installed packages."}
81+
- { date: "24.06.21:", desc: "Add note on optional OAUTHLIB_RELAX_TOKEN_SCOPE for Google OAUTH support."}
82+
- { date: "17.05.21:", desc: "Add linuxserver wheel index."}
83+
- { date: "10.02.21:", desc: "Add libxrandr2"}
84+
- { date: "25.01.21:", desc: "Add nightly tag"}
85+
- { date: "19.01.21:", desc: "Add python3-pkg-resources"}
86+
- { date: "13.01.21:", desc: "Rebase to Ubuntu Focal, see [here](https://docs.linuxserver.io/faq#my-host-is-incompatible-with-images-based-on-ubuntu-focal) for troubleshooting armhf." }
87+
- { date: "12.10.20:", desc: "Add libxi6"}
88+
- { date: "12.07.20:", desc: "Add kepubify for arm64v8" }
89+
- { date: "05.06.20:", desc: "Add kepubify for x86-64 and arm32v7" }
90+
- { date: "06.05.20:", desc: "Add libxslt1.1 and update ImageMagick policy" }
91+
- { date: "19.01.20:", desc: "Adding LDAP libs." }
92+
- { date: "13.10.19:", desc: "Migrate to Python3." }
93+
- { date: "01.08.19:", desc: "Add libxcomposite1." }
94+
- { date: "13.06.19:", desc: "Add docker mod to enable optional ebook conversion on x86-64. Add unrar." }
95+
- { date: "02.06.19:", desc: "Rebase to Ubuntu Bionic & add Gdrive support." }
96+
- { date: "23.03.19:", desc: "Switching to new Base images, shift to arm32v7 tag." }
97+
- { date: "23.02.19:", desc: "Rebase to alpine 3.9, use repo version of imagemagick." }
98+
- { date: "11.02.19:", desc: "Add pipeline logic and multi arch." }
99+
- { date: "03.01.19:", desc: "Remove guest user from default app.db." }
100+
- { date: "16.08.18:", desc: "Rebase to alpine 3.8." }
101+
- { date: "03.07.18:", desc: "New build pushed, all versions below `67` have [vulnerability](https://github.com/janeczku/calibre-web/issues/534)." }
102+
- { date: "05.01.18:", desc: "Deprecate cpu_core routine lack of scaling." }
103+
- { date: "06.12.17:", desc: "Rebase to alpine 3.7." }
104+
- { date: "27.11.17:", desc: "Use cpu core counting routine to speed up build time." }
105+
- { date: "24.07.17:", desc: "Curl version for imagemagick." }
106+
- { date: "17.07.17:", desc: "Initial release." }

0 commit comments

Comments
 (0)