Kopia

Cross-platform backup tool for Windows, macOS & Linux with fast, incremental backups, client-side end-to-end encryption, compression and data deduplication. CLI and GUI included.

# file: `docker-compose.yml`

services:
  kopia:
    image: ${HONEYPI_IMAGE_REGISTRY_HOST:-docker.io}/kopia/kopia:${HONEYPI_KOPIA_VERSION:-latest}
    container_name: kopia
    restart: unless-stopped
    command:
      - server
      - start
      - --disable-csrf-token-checks
      - --insecure
      - --address=0.0.0.0:51515
      - --server-username=${HONEYPI_KOPIA_USER:-admin}
      - --server-password=${HONEYPI_KOPIA_PASSWORD}
    ports:
      - ${HONEYPI_KOPIA_PORT:-51515}:51515
    volumes:
      - ${HONEYPI_DATA}/kopia/config:/app/config
      - ${HONEYPI_DATA}/kopia/cache:/app/cache
      - ${HONEYPI_DATA}/kopia/logs:/app/logs
      - /:/data:ro
      - ${HONEYPI_KOPIA_REPOSITORY}:/repository
      - /mnt/kopia:/tmp:shared
    environment:
      - KOPIA_PASSWORD=${HONEYPI_KOPIA_PASSWORD}
      - USER=${HONEYPI_KOPIA_USER:-admin}
    labels:
      - traefik.enable=${HONEYPI_KOPIA_TRAEFIK_ENABLE:-false}
      - traefik.http.routers.kopia.rule=Host(`${HONEYPI_KOPIA_HOST}`)
      - traefik.http.routers.kopia.entrypoints=websecure
      - traefik.http.routers.kopia.tls.certresolver=resolver
      - traefik.http.routers.kopia.service=kopia
      - traefik.http.services.kopia.loadbalancer.server.port=51515