mirror of
https://github.com/Suwayomi/docker-tachidesk.git
synced 2025-12-10 06:42:12 +01:00
Allow logging to standard output
This commit is contained in:
@@ -37,6 +37,10 @@ Change the default UTC timezone. Use TZ database name from [Timezone list](https
|
||||
|
||||
docker run -e "TZ=Europe/London" -p 127.0.0.1:4567:4567 ghcr.io/suwayomi/tachidesk
|
||||
|
||||
Change the logging location from a file to standard output
|
||||
|
||||
docker run -e "LOGGING=out" -p 127.0.0.1:4567:4567 ghcr.io/suwayomi/tachidesk
|
||||
|
||||
For Tachidesk Preview version
|
||||
|
||||
docker run -p 127.0.0.1:4567:4567 ghcr.io/suwayomi/tachidesk:preview
|
||||
|
||||
@@ -13,6 +13,7 @@ services:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=< change it to your timezone > # Use TZ database name from https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
||||
- LOGGING=file
|
||||
volumes:
|
||||
- /<path to folder>/docker-config/tachidesk:/home/suwayomi/.local/share/Tachidesk # edit <path to folder> to your mapped folder
|
||||
ports:
|
||||
|
||||
@@ -14,5 +14,9 @@ echo ""
|
||||
echo "Tachidesk data location inside the container -> /home/suwayomi/.local/share/Tachidesk"
|
||||
echo ""
|
||||
echo "The server is running by default configuration on http://localhost:4567"
|
||||
echo "log file location inside the container -> /home/suwayomi/.local/share/Tachidesk/logfile.log"
|
||||
exec java -jar "/home/suwayomi/startup/tachidesk_latest.jar" > /home/suwayomi/.local/share/Tachidesk/logfile.log 2>&1;
|
||||
if [ "${LOGGING:-file}" != "file" ]; then
|
||||
exec java -jar "/home/suwayomi/startup/tachidesk_latest.jar";
|
||||
else
|
||||
echo "log file location inside the container -> /home/suwayomi/.local/share/Tachidesk/logfile.log"
|
||||
exec java -jar "/home/suwayomi/startup/tachidesk_latest.jar" > /home/suwayomi/.local/share/Tachidesk/logfile.log 2>&1;
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user