captainVersion: 4
services:
    $$cap_appname:
        image: photoprism/photoprism:$$cap_photoprism_version
        volumes:
            - $$cap_appname-data:/photoprism/originals/
        restart: always
        caproverExtra:
            containerHttpPort: '2342'
caproverOneClickApp:
    variables:
        - id: $$cap_photoprism_version
          label: Photoprism Version
          defaultValue: '20200427'
          description: Check out their Docker page for the valid tags https://hub.docker.com/r/photoprism/photoprism/tags
          validRegex: /^([^\s^\/])+$/
    instructions:
        start: PhotoPrism is a server-based application for browsing, organizing and sharing your personal photo collection. It makes use of the latest technologies to automatically tag and find pictures without getting in your way.
        end: Photoprism is deployed and available as $$cap_appname. Please also enable Websockets in the Caprover UI. When you log in the default password is 'photoprism'
    displayName: Photoprism
    isOfficial: true
    description: An app for browsing, organizing and sharing your personal photo collection.
    documentation: Taken from https://hub.docker.com/r/photoprism/photoprism
