"I want to access e-books, PDF documents, etc., from various devices within my home LAN."
There seem to be various ways to do this, but I will try installing an app called Komga.
This time, I will install Komga using Docker, which I installed beforehand.
By the way, what is Komga?
1) Create a directory for komga.
mkdir -p ~/Apps/komga/config mkdir -p ~/Apps/komga/data
File structure as shown in the image below
ーーーファイル構造ーーー
~/Apps/
└─ komga/
├─ config/
└─ data/(2) Save the following to ~/Apps/komga/docker-compose.yml.
yamlversion: '3.3'
services:
komga:
image: gotson/komga
container_name: komga
ports:
- "25600:25600"
volumes:
- ./config:/config
- ./data:/data # NAS を使う場合はここを置き換える
user: "1000:1000"
restart: unless-stopped(3) Register the user to the docker group
sudo usermod -aG docker $USER
(4) Restart to update docker permissions
Logging out and logging back in also seems to work.
(5) Open http://localhost:25600 in a web browser
Confirm that the komga server is running locally
(6) Register an Email (effectively the login name) and Password
and log in.
You will then be able to use Komga.
Specific usage instructions for Komga are omitted.
(Please refer to explanation pages on the web)