Commit Graph

425 Commits

Author SHA1 Message Date
Constantin Piber
44f91a4e38 Attempt to get CI to cache layers (#173) 2025-09-13 13:29:25 -04:00
robo
93e4192199 [skip ci] capitalise the H2 and POSTGRESQL options (#172) 2025-09-13 12:21:10 -04:00
Syer10
7511623c60 Add updated KOReader variables 2025-09-10 12:17:56 -04:00
Constantin Piber
29ee3410bc Improve image size and cachability (#165)
* Merge basic install layers

* Move `TACHIDESK_RELEASE_DOWNLOAD_URL` to where it's needed

This improves cachability, because the `ARG` taints all layers following
it. Since we change this arg for every release, the whole container had
to be rebuilt and redownloaded, when only the layer with the actual jar
file needs it.

* Move `ARG`s to the latest layer we can

`ARG`s taint every layer following, so move the `LABEL` to the last
layer, and the JAR download to the second-to-last, allowing for caching
of every layer except those two.

* Merge user creation layers and move `chmod`

The `chmod` needs to be after all copy and download if we want to avoid
permission problems (previous commit was not functional at runtime due
to insufficient permissions). This way, the files will be owned by the
correct user, and readable by all, while not creating unnecessary
layers.
2025-09-09 18:48:08 -04:00
Mitchell Syer
9b66814d96 Add more fixes to config management (#167) 2025-09-08 12:20:59 -04:00
Constantin Piber
ae620966e4 Publish system certs to java certs (#164) 2025-09-08 11:06:59 -04:00
robo
f884129eee [skip ci] remove POSTGRES_HOST_AUTH_METHOD from docker-compose.yml (#166)
it might have been what was causing my crashes and isnt necessary for basic setups
2025-09-08 11:04:33 -04:00
Syer10
ccf642ff49 Fix quotes on flavor 2025-09-04 15:17:01 -04:00
Mitchell Syer
4ce1538636 Fix enum quotes (#163)
* Fix enum quotes

* Try this one

* Use stars
2025-09-04 15:14:00 -04:00
robo
d55cfa4f6a [skip ci] add postgresql service and env variable comments to the example compose (#162) 2025-09-02 16:17:39 -04:00
Mitchell Syer
f5dce5a890 Fix Enums Without Quotes (#161)
* Fix enums without quotes

* Fix underline
2025-09-02 16:09:39 -04:00
Mitchell Syer
a8d8475de0 Database Configuration (#160) 2025-09-02 12:54:06 -04:00
Syer10
5c6ea7286f Add new JWT variables 2025-08-20 18:39:37 -04:00
are-are-are
253f34cf98 Fix koreaderSyncPercentageTolerance has type STRING rather than NUMBER (#156)
If restart Docker Suwayomi Preview. The issue is caused by line 94 server.conf will become server.koreaderSyncPercentageTolerance = "0.0000000000001" instead of 0.00000000000001
2025-08-20 07:05:19 -04:00
Syer10
a959daf8dc Mention me if it fails 2025-08-19 17:27:18 -04:00
Syer10
d263d1ef55 Fix wrapping of values 2025-08-19 17:20:00 -04:00
Syer10
9568818ce3 Show contents of server.conf for testing 2025-08-19 17:13:09 -04:00
Syer10
79a85c83ec Fix KOReaderSyncServerUrl format 2025-08-19 17:04:58 -04:00
renovate[bot]
bc00388719 Update actions/checkout action to v5 (#154)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-19 15:30:45 -04:00
renovate[bot]
8629366397 Update eclipse-temurin Docker tag (#153)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-19 15:30:36 -04:00
Syer10
fd7a1d92c7 Add new KOReader variables and missing existing ones 2025-08-19 15:30:16 -04:00
Mitchell Syer
1b26c52ba8 [ci skip] Update README.md 2025-07-31 22:27:42 -04:00
github-actions[bot]
56af7c95be Update stable version 2025-07-31 18:33:24 +00:00
Constantin Piber
f4e7901eba Remove CEF lock on startup (#151) 2025-07-15 16:09:35 -04:00
robo
b1448c9cf8 [skip ci] compressionLevel README.md (#150) 2025-07-15 12:16:09 -04:00
Mitchell Syer
9370334fa6 Add downloadConversions (#149) 2025-07-14 18:24:34 -04:00
Constantin Piber
7717a13190 [skip ci] [#147] Update badges (#148)
* [#147] Update badges

* [#147] Update version on stable release
2025-07-13 15:24:19 -04:00
Constantin Piber
e7f29dd891 [skip ci] Add warning on startup failure to readme (#146)
* Add warning on startup failure to readme

[ci skip]

* Move the warning
2025-07-12 16:23:36 -04:00
Mitchell Syer
e4a8a7d841 Fix sed for new variables (#144)
* Minor change

* Add echo ""
2025-07-06 13:43:25 -04:00
Constantin Piber
caeaff6196 Move command to correct branch (#143) 2025-07-06 12:54:20 -04:00
Constantin Piber
e7b1b6b21e Set HOME to avoid default "/" (#142) 2025-07-06 12:49:05 -04:00
Constantin Piber
ea7a79e50a Switch to xvfb-run instead of manually calling Xvfb (#141)
This should ensure it always finds a display number. It also makes sure
to properly kill `Xvfb`, which we did not do before.
2025-07-06 12:48:38 -04:00
Syer10
fe65ce8873 Add support for new auth variables 2025-07-06 12:48:19 -04:00
Constantin Piber
1e7c775741 Remove lock of dead Xvfb instances on start (#139)
When restarting the container, `Xvfb` is killed quite rudely, so it doesn't have time to clean up the lock. This means that on subsequent starts (without recreating the container), `Xvfb` refuses to start and thus the WebView fails.
2025-07-02 13:20:04 -04:00
Constantin Piber
5aa35914a5 C: handler for abort (#135)
* C: handler for abort

CEF will kill the thread if the GPU process cannot be created. This
brings down Suwayomi with it, so instead just kill the thread and inform
Java about the exception.

* Two-stage build to download an build catch_abort

Building JNI extensions requires JDK, but we don't need it at runtime,
so create a build-step based on JDK, then copy the built binary over

* Add catch handler to github action
2025-06-21 12:29:59 -04:00
Constantin Piber
eb9e13a432 Startup: Attempt to make JCEF executable on start (#136) 2025-06-21 08:59:50 -04:00
Constantin Piber
55715f4f85 Fix: don't try to link KCEF when it's not downloaded (#134) 2025-06-20 19:22:50 -04:00
Constantin Piber
9844dbcde3 Download JCEF at docker build step (#132)
* Add `LD_PRELOAD` to startup script

Closes #131

* Script to download and extract a JCEF release

Closely mirrors what KCEF does, but written in glorious AWK

* Call kcef_download and link downloaded JCEF where Suwayomi expects it

The script downloads JCEF into /opt. Link this folder at runtime into
the data folder where Suwayomi expects it. This allows us to easily
bundle the predownloaded release without modifying Suwayomi startup.
Move `LD_PRELOAD` down a bit to avoid warnings about preloading
libcef.so before the symlink exists.

* Add KCEF url to workflow to embed JCEF into container
2025-06-20 12:38:23 -04:00
Syer10
ba092184cd [ci skip] Add .gitattributes file 2025-06-20 12:26:41 -04:00
Constantin Piber
d037f190e7 Merge builds again, use BUILDPLATFORM to decide KCEF (#130)
* Merge builds again, use BUILDPLATFORM to decide

* BUILDPLATFORM -> TARGETPLATFORM
2025-06-12 15:11:36 -04:00
Constantin Piber
db1d8b99a1 Remove KCEF from unsupported containers (#129)
* Introduce Build arg to include KCEF or not

* GH CI separate containers where KCEF is not supported
2025-06-12 14:26:16 -04:00
Constantin Piber
10e3c8a5c8 [skip ci] Update README (#128)
* Remove tachidesk notice

Stable releases are now available

* Correct logging information
2025-06-12 13:30:39 -04:00
Constantin Piber
25c619a9fe Support KCEF (#127)
* Support KCEF

Install native dependencies required by JCEF
Sets up JNI libraries as required by the browser process
Launch Suwayomi in a XVFB environment to fake X11

* Copy libraries to home folder instead

Otherwise, other architectures are not supported

Search path is :
[/usr/java/packages/lib/libnativewindow_awt.so, /usr/lib64/libnativewindow_awt.so, /usr/lib64/libnativewindow_awt.so, /usr/lib/libnativewindow_awt.so, /usr/lib/libnativewindow_awt.so, /home/suwayomi/libnativewindow_awt.so, /home/suwayomi/natives/linux-amd64/libnativewindow_awt.so]
2025-06-12 11:37:54 -04:00
Mitchell Syer
bfc3b6cbfe opdsUseBinaryFileSizes 2025-05-27 01:06:20 +00:00
Mitchell Syer
161c09a025 Opds 2025-05-22 23:55:05 +00:00
renovate[bot]
cad70c2159 Update eclipse-temurin Docker tag to v21.0.7_6-jre-noble (#121)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-23 16:24:58 -04:00
Mitchell Syer
8a4324cfb9 Remove Deprecated 2025-02-15 16:24:23 -05:00
Mitchell Syer
67dc398b33 Switch to ghcr.io/suwayomi/suwayomi-server (#116)
* Switch to `ghcr.io/suwayomi/suwayomi-server`

* Fix Arch readme

* Warn about missing stable release
2025-02-15 16:22:14 -05:00
robo
d373be49be [skip ci] Update docker-compose.yml (#115)
use byparr instead of flaresolver since flaresolver no longer works
2025-02-11 13:20:28 -05:00
renovate[bot]
f1b1682672 Update eclipse-temurin Docker tag to v21.0.6_7-jre-noble (#113)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 11:08:16 -05:00