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:
@@ -36,6 +36,10 @@ Expose to all ips
|
|||||||
Change the default UTC timezone. Use TZ database name from [Timezone list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
|
Change the default UTC timezone. Use TZ database name from [Timezone list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
|
||||||
|
|
||||||
docker run -e "TZ=Europe/London" -p 127.0.0.1:4567:4567 ghcr.io/suwayomi/tachidesk
|
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
|
For Tachidesk Preview version
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ services:
|
|||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=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
|
- 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:
|
volumes:
|
||||||
- /<path to folder>/docker-config/tachidesk:/home/suwayomi/.local/share/Tachidesk # edit <path to folder> to your mapped folder
|
- /<path to folder>/docker-config/tachidesk:/home/suwayomi/.local/share/Tachidesk # edit <path to folder> to your mapped folder
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -14,5 +14,9 @@ echo ""
|
|||||||
echo "Tachidesk data location inside the container -> /home/suwayomi/.local/share/Tachidesk"
|
echo "Tachidesk data location inside the container -> /home/suwayomi/.local/share/Tachidesk"
|
||||||
echo ""
|
echo ""
|
||||||
echo "The server is running by default configuration on http://localhost:4567"
|
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"
|
if [ "${LOGGING:-file}" != "file" ]; then
|
||||||
exec java -jar "/home/suwayomi/startup/tachidesk_latest.jar" > /home/suwayomi/.local/share/Tachidesk/logfile.log 2>&1;
|
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