Skip to main content

Komga

version: '3.3'
services:
  komga:
    image: gotson/komga
    container_name: komga
    volumes:
      - type: bind
        source: /srv/path/Files/Komga/config
        target: /config
      - type: bind
        source: /srv/path/Files/Komga/data
        target: /data
      - type: bind
        source: /srv/path/Comics/
        target: /comics
      - type: bind
        source: /srv/path/eBooks/
        target: /books
      - type: bind
        source: /srv/path/Magazines/
        target: /magazines
      - type: bind
        source: /etc/timezone
        target: /etc/timezone
        read_only: true
    ports:
      - 9080:25600
    user: "998:100"
    # remove the whole environment section if you don't need it
   # environment:
   #   - <ENV_VAR>=<extra configuration>
    restart: unless-stopped

Permission on /Komga/ should be set to 777 prior to installation.