Skip to content

Kopia

More about it here

docker-compose.yml

YAML
services:
  kopia:
    image: kopia/kopia:0.17
    hostname: kopia-pve
    container_name: kopia
    restart: unless-stopped
    privileged: true
    cap_add:
      - SYS_ADMIN
    ports:
      - 51515:51515
    # Setup the server that provides the web gui
    command:
      - server
      - start
      - --disable-csrf-token-checks
      - --insecure
      - --address=0.0.0.0:51515
      - --server-username=user
      - --server-password=Password
    environment:
      # Set repository password
      KOPIA_PASSWORD: "password"
      USER: "user"
    volumes:
      # Mount local folders needed by kopia
      - ./config:/app/config
      - ./cache:/app/cache
      - ./logs:/app/logs
      # Mount local folders to snapshot
      - ./data:/data
      # Mount repository location
      - ./repository:/repository
      # Mount path for browsing mounted snaphots
      - ./shared:/tmp:shared