安装Komga

Komga Web端,其实更好用的是搭配Tachiyomi的komga插件用

还是一样,直接上yml

version: '3.3'
services:
  komga:
    image: gotson/komga
    container_name: komga
    volumes:
      - type: bind
        source: /home/komga/config
        target: /config
      - type: bind
        source: /transmission的漫画下载目录
        target: /data
      - type: bind
        source: /etc/timezone
        target: /etc/timezone
        read_only: true
    ports:
      - 8080:8080
    restart: unless-stopped

networks:
  default:
    external: true
    name: nginx-proxy

Komga官方文档里的目录映射用的是bind方法,跟平时在其他几个compose里用开的映射写法好像不一样,效果的话用上去是一样的,既然官方这么写那我们就这么用咯~

  • 启动容器
docker-compose up -d

搞定之后还是一样,关掉8080端口的外部访问,这里8080是常见端口,可能跟其他服务有冲突,看不顺眼的话可以在部署的时候就改成别的端口。

页: 1 2 3 4 5 6 7