Skip to content
⚠️ This documentation, is under development. Expect changes!

Komga

Create a folder in which to place the komga data.

You can create a first file named compose.yaml and put the following content in it

compose.yaml
# Komga
# Web ui: http://komga:25600
services:
komga:
image: gotson/komga
container_name: komga
volumes:
- ./config:/config
- ./data:/data
- /etc/timezone:/etc/timezone:ro
environment:
- JAVA_TOOL_OPTIONS=-Xmx4g
restart: always
networks:
- proxy-net
labels:
traefik.enable: true
traefik.http.routers.komga.entrypoints: web,websecure
traefik.http.routers.komga.tls: true
traefik.http.routers.komga.tls.certresolver: production
traefik.http.routers.komga.rule: Host(`book.example.com`)
traefik.http.services.komga.loadbalancer.server.port: 25600
networks:
proxy-net:
name: proxy-network
external: true

Once the configuration is complete, you can run the following command

Terminal window
docker compose up -d