Files
devops/docker/komga/docker-compose.yml
2025-03-17 11:53:43 +08:00

22 lines
593 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

version: "3.8"
services:
komga:
image: gotson/komga:latest
container_name: komga
restart: unless-stopped
networks:
- devops
ports:
- "25600:25600" # 访问地址: http://localhost:25600
environment:
- TZ=Asia/Shanghai # 设置时区
volumes:
# mkdir -p ~/dockers/komga/{config,books,logs}
- ~/dockers/komga/config:/config # 存储 Komga 配置和数据库
- ~/dockers/komga/books:/books # 你的电子书存储目录EPUB, PDF
- ~/dockers/komga/logs:/logs # Komga 日志
networks:
devops:
external: true