mirror of
https://github.com/Suwayomi/docker-tachidesk.git
synced 2025-12-10 06:42:12 +01:00
Add updated KOReader variables
This commit is contained in:
3
.github/workflows/container.yml
vendored
3
.github/workflows/container.yml
vendored
@@ -168,8 +168,9 @@ jobs:
|
|||||||
-e KOREADER_SYNC_USERKEY=hello123 \
|
-e KOREADER_SYNC_USERKEY=hello123 \
|
||||||
-e KOREADER_SYNC_DEVICE_ID=100 \
|
-e KOREADER_SYNC_DEVICE_ID=100 \
|
||||||
-e KOREADER_SYNC_CHECKSUM_METHOD=filename \
|
-e KOREADER_SYNC_CHECKSUM_METHOD=filename \
|
||||||
-e KOREADER_SYNC_STRATEGY=send \
|
|
||||||
-e KOREADER_SYNC_PERCENTAGE_TOLERANCE=0.001 \
|
-e KOREADER_SYNC_PERCENTAGE_TOLERANCE=0.001 \
|
||||||
|
-e KOREADER_SYNC_STRATEGY_FORWARD=disabled \
|
||||||
|
-e KOREADER_SYNC_STRATEGY_BACKWARD=prompt \
|
||||||
-e DATABASE_TYPE=H2 \
|
-e DATABASE_TYPE=H2 \
|
||||||
-e DATABASE_URL=postgresql://localhost:5432/suwayomi \
|
-e DATABASE_URL=postgresql://localhost:5432/suwayomi \
|
||||||
-e DATABASE_USERNAME=manga \
|
-e DATABASE_USERNAME=manga \
|
||||||
|
|||||||
11
README.md
11
README.md
@@ -58,7 +58,7 @@ There are a number of environment variables available to configure Suwayomi:
|
|||||||
| **MAX_LOG_FILE_SIZE** | `10mb` | The max size of a log file - Possible values: 1 (bytes), 1KB (kilobytes), 1MB (megabytes), 1GB (gigabytes) |
|
| **MAX_LOG_FILE_SIZE** | `10mb` | The max size of a log file - Possible values: 1 (bytes), 1KB (kilobytes), 1MB (megabytes), 1GB (gigabytes) |
|
||||||
| **MAX_LOG_FOLDER_SIZE** | `100mb` | The max size of all saved log files - Possible values: 1 (bytes), 1KB (kilobytes), 1MB (megabytes), 1GB (gigabytes) |
|
| **MAX_LOG_FOLDER_SIZE** | `100mb` | The max size of all saved log files - Possible values: 1 (bytes), 1KB (kilobytes), 1MB (megabytes), 1GB (gigabytes) |
|
||||||
| **WEB_UI_ENABLED** | `true` | If the server should serve a webUI |
|
| **WEB_UI_ENABLED** | `true` | If the server should serve a webUI |
|
||||||
| **WEB_UI_FLAVOR** | `WebUI` | "WebUI" or "Custom" |
|
| **WEB_UI_FLAVOR** | `WebUI` | `WebUI` or `Custom` |
|
||||||
| **WEB_UI_CHANNEL** | `stable` | "bundled" (the version bundled with the server release), "stable" or "preview" - the webUI version that should be used |
|
| **WEB_UI_CHANNEL** | `stable` | "bundled" (the version bundled with the server release), "stable" or "preview" - the webUI version that should be used |
|
||||||
| **WEB_UI_UPDATE_INTERVAL** | `23` | Time in hours - 0 to disable auto update - range: 1 <= n < 24 - how often the server should check for webUI updates |
|
| **WEB_UI_UPDATE_INTERVAL** | `23` | Time in hours - 0 to disable auto update - range: 1 <= n < 24 - how often the server should check for webUI updates |
|
||||||
| **AUTO_DOWNLOAD_CHAPTERS** | `false` | If new chapters that have been retrieved should get automatically downloaded |
|
| **AUTO_DOWNLOAD_CHAPTERS** | `false` | If new chapters that have been retrieved should get automatically downloaded |
|
||||||
@@ -88,15 +88,16 @@ There are a number of environment variables available to configure Suwayomi:
|
|||||||
| **OPDS_MARK_AS_READ_ON_DOWNLOAD** | `false` | Automatically mark chapters as read when you download them |
|
| **OPDS_MARK_AS_READ_ON_DOWNLOAD** | `false` | Automatically mark chapters as read when you download them |
|
||||||
| **OPDS_SHOW_ONLY_UNREAD_CHAPTERS** | `false` | Filter manga feed to display only chapters you haven't read |
|
| **OPDS_SHOW_ONLY_UNREAD_CHAPTERS** | `false` | Filter manga feed to display only chapters you haven't read |
|
||||||
| **OPDS_SHOW_ONLY_DOWNLOADED_CHAPTERS** | `false` | Filter manga feed to display only chapters you have downloaded |
|
| **OPDS_SHOW_ONLY_DOWNLOADED_CHAPTERS** | `false` | Filter manga feed to display only chapters you have downloaded |
|
||||||
| **OPDS_CHAPTER_SORT_ORDER** | `DESC` | "DESC" or "ASC" |
|
| **OPDS_CHAPTER_SORT_ORDER** | `DESC` | `DESC` or `ASC` |
|
||||||
| **KOREADER_SYNC_SERVER_URL** | `http://localhost:17200` | The URL of the KOReader Sync server |
|
| **KOREADER_SYNC_SERVER_URL** | `http://localhost:17200` | The URL of the KOReader Sync server |
|
||||||
| **KOREADER_SYNC_USERNAME** | ` ` | KOReader Sync UserName |
|
| **KOREADER_SYNC_USERNAME** | ` ` | KOReader Sync UserName |
|
||||||
| **KOREADER_SYNC_USERKEY** | ` ` | KOReader Sync UserKey |
|
| **KOREADER_SYNC_USERKEY** | ` ` | KOReader Sync UserKey |
|
||||||
| **KOREADER_SYNC_DEVICE_ID** | ` ` | The Device-ID for KOReader |
|
| **KOREADER_SYNC_DEVICE_ID** | ` ` | The Device-ID for KOReader |
|
||||||
| **KOREADER_SYNC_CHECKSUM_METHOD** | `binary` | "binary" or "filename" |
|
| **KOREADER_SYNC_CHECKSUM_METHOD** | `binary` | `binary` or `filename` |
|
||||||
| **KOREADER_SYNC_STRATEGY** | `disabled` | "prompt", "silent", "send", "receive", "disabled" |
|
|
||||||
| **KOREADER_SYNC_PERCENTAGE_TOLERANCE** | `0.00000000000001` | Absolute tolerance for progress comparison from 1 (widest) to 1e-15 (strict) |
|
| **KOREADER_SYNC_PERCENTAGE_TOLERANCE** | `0.00000000000001` | Absolute tolerance for progress comparison from 1 (widest) to 1e-15 (strict) |
|
||||||
| **DATABASE_TYPE** | `h2` | "h2" or "postgresql" |
|
| **KOREADER_SYNC_STRATEGY_FORWARD** | `prompt` | `prompt`, `keep_local`, `keep_remote`, `disabled` |
|
||||||
|
| **KOREADER_SYNC_STRATEGY_BACKWARD** | `disabled` | `prompt`, `keep_local`, `keep_remote`, `disabled` |
|
||||||
|
| **DATABASE_TYPE** | `h2` | `h2` or `postgresql` |
|
||||||
| **DATABASE_URL** | `postgresql://localhost:5432/suwayomi` | The URL of the database, only used for non-h2 database |
|
| **DATABASE_URL** | `postgresql://localhost:5432/suwayomi` | The URL of the database, only used for non-h2 database |
|
||||||
| **DATABASE_USERNAME** | ` ` | Database username, only used for non-h2 database |
|
| **DATABASE_USERNAME** | ` ` | Database username, only used for non-h2 database |
|
||||||
| **DATABASE_PASSWORD** | ` ` | Database password, only used for non-h2 database |
|
| **DATABASE_PASSWORD** | ` ` | Database password, only used for non-h2 database |
|
||||||
|
|||||||
@@ -115,8 +115,9 @@ sed -i -r "s/server.koreaderSyncUsername = \"(.*?)\"( #)?/server.koreaderSyncUse
|
|||||||
sed -i -r "s/server.koreaderSyncUserkey = \"(.*?)\"( #)?/server.koreaderSyncUserkey = \"${KOREADER_SYNC_USERKEY:-\1}\" #/" /home/suwayomi/.local/share/Tachidesk/server.conf
|
sed -i -r "s/server.koreaderSyncUserkey = \"(.*?)\"( #)?/server.koreaderSyncUserkey = \"${KOREADER_SYNC_USERKEY:-\1}\" #/" /home/suwayomi/.local/share/Tachidesk/server.conf
|
||||||
sed -i -r "s/server.koreaderSyncDeviceId = \"(.*?)\"( #)?/server.koreaderSyncDeviceId = \"${KOREADER_SYNC_DEVICE_ID:-\1}\" #/" /home/suwayomi/.local/share/Tachidesk/server.conf
|
sed -i -r "s/server.koreaderSyncDeviceId = \"(.*?)\"( #)?/server.koreaderSyncDeviceId = \"${KOREADER_SYNC_DEVICE_ID:-\1}\" #/" /home/suwayomi/.local/share/Tachidesk/server.conf
|
||||||
sed -i -r "s/server.koreaderSyncChecksumMethod = \"*([a-zA-Z0-9_]+)\"*( #)?/server.koreaderSyncChecksumMethod = ${KOREADER_SYNC_CHECKSUM_METHOD:-\1} #/" /home/suwayomi/.local/share/Tachidesk/server.conf
|
sed -i -r "s/server.koreaderSyncChecksumMethod = \"*([a-zA-Z0-9_]+)\"*( #)?/server.koreaderSyncChecksumMethod = ${KOREADER_SYNC_CHECKSUM_METHOD:-\1} #/" /home/suwayomi/.local/share/Tachidesk/server.conf
|
||||||
sed -i -r "s/server.koreaderSyncStrategy = \"*([a-zA-Z0-9_]+)\"*( #)?/server.koreaderSyncStrategy = ${KOREADER_SYNC_STRATEGY:-\1} #/" /home/suwayomi/.local/share/Tachidesk/server.conf
|
|
||||||
sed -i -r "s/server.koreaderSyncPercentageTolerance = ([-0-9\.Ee]+)?( #)/server.koreaderSyncPercentageTolerance = ${KOREADER_SYNC_PERCENTAGE_TOLERANCE:-\1} #/" /home/suwayomi/.local/share/Tachidesk/server.conf
|
sed -i -r "s/server.koreaderSyncPercentageTolerance = ([-0-9\.Ee]+)?( #)/server.koreaderSyncPercentageTolerance = ${KOREADER_SYNC_PERCENTAGE_TOLERANCE:-\1} #/" /home/suwayomi/.local/share/Tachidesk/server.conf
|
||||||
|
sed -i -r "s/server.koreaderSyncStrategyForward = \"*([a-zA-Z0-9_]+)\"*( #)?/server.koreaderSyncStrategyForward = ${KOREADER_SYNC_STRATEGY_FORWARD:-\1} #/" /home/suwayomi/.local/share/Tachidesk/server.conf
|
||||||
|
sed -i -r "s/server.koreaderSyncStrategyBackward = \"*([a-zA-Z0-9_]+)\"*( #)?/server.koreaderSyncStrategyBackward = ${KOREADER_SYNC_STRATEGY_BACKWARD:-\1} #/" /home/suwayomi/.local/share/Tachidesk/server.conf
|
||||||
|
|
||||||
# database
|
# database
|
||||||
sed -i -r "s/server.databaseType = \"*([a-zA-Z0-9_]+)\"*( #)?/server.databaseType = ${DATABASE_TYPE:-\1} #/" /home/suwayomi/.local/share/Tachidesk/server.conf
|
sed -i -r "s/server.databaseType = \"*([a-zA-Z0-9_]+)\"*( #)?/server.databaseType = ${DATABASE_TYPE:-\1} #/" /home/suwayomi/.local/share/Tachidesk/server.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user