--- version: '3.3' services: komga: image: gotson/komga container_name: komga volumes: - type: bind source: /mnt/komga/config target: /config - type: bind source: /mnt/komga/data target: /data - type: bind source: /etc/timezone #alternatively you can use a TZ environment variable, like TZ=Europe/London target: /etc/timezone read_only: true ports: - 25600:25600 environment: - JAVA_TOOL_OPTIONS=-Xmx4g user: "1000:1000" restart: unless-stopped