Closed 2eronia closed 1 year ago
I found that maybe I should map /root/.local/share/Tachidesk to persist the data (?)
I dit it!
IF YOU WANNA PERSIST THE DATA,
YOU SHOULD MAP
/root/.local/share/Tachidesk
TO A SPECIFIC DIRECTOR.
Edit the "server.conf" which locates in /root/.local/share/Tachidesk also make "Authentication" working
docker run -d \
--restart unless-stopped \
--name="tachidesk" \
--network docker_subnet \
--ip 172.18.0.6 \
-v /root/Tachidesk/data:/root/.local/share/Tachidesk \
-v /root/Tachidesk/logs:/home/suwayomi/.local/share/Tachidesk \
-u $(id -u):$(id -g) \
ghcr.io/suwayomi/tachidesk:stable-alpine
I created a docker bridge net to persist container's IP.
I deployed this docker on my OpenWRT router.
No permission warning.
There were only three files in the ./Tachidesk directory:
docker_touchfile (a zero size file)
logfile.log
server.conf
The directory would not contain any extensions or mangas that I had installed or downloaded, respectively.
And if i deleted the container and redeployed this docker,
all the extensions I had installed and all the mangas I had downloaded were gone.
I just wanna persist my installed extensions and downloaded mangas.
( If the data cannot be stored in the specific directory, once Watchtower auto-updates Tachidesk, all the installed extensions and downloaded mangas will be gone like I redeploy this docker. )
Any solution?