services:
  plik:
    image: rootgg/plik:latest
    container_name: plik-server
    restart: unless-stopped
    ports:
      - "8080:8080"
    volumes:
      # # Mount the config file (created below)
      # - ./plikd.cfg:/home/plik/server/plikd.cfg
      # Mount local folder for uploads and database
      - ./plik-data:/data
    # Set user to match your host UID to avoid permission issues
    user: "1000:1000"