# KX-Bridge Nightly — Portainer Stack
#
# Paste this into Portainer → Stacks → Add stack → Web editor
#
# Uses the nightly build — may be unstable, for testing new features early.
# For production use, see docker-compose.portainer.yml (:latest).

services:
  kx-bridge:
    image: gitea.it-drui.de/viewit/kx-bridge:nightly
    volumes:
      - /mnt/dockerdata/kx-nightly/config:/app/config
      - /mnt/dockerdata/kx-nightly/data:/app/data
    ports:
      # Port 7125 = first printer. Add 7126, 7127, … for each additional printer.
      - "7125:7125"
    restart: unless-stopped
    logging:
      driver: json-file
      options:
        max-size: "10m"
        max-file: "3"

# Verzeichnisse müssen auf dem Host existieren:
# mkdir -p /mnt/dockerdata/kx-nightly/config /mnt/dockerdata/kx-nightly/data
