version: '3'
services:
    kavita:
        image: kizaing/kavita:latest
        container_name: kavita
        volumes:
            - ./manga:/manga
            - ./config:/kavita/config
        ports:
            - "5000:5000"
        restart: unless-stopped
        
        #Uncomment if you want to implement healthchecks
        #healthcheck:
        #   test: curl --fail http://localhost:5000 || exit 1
        #   interval: 300s
        #   retries: 3
        #   start_period: 30s
        #   timeout: 15s
