{
	"categories": [
		"Photos"
	],
	"description": "PhotoPrism® is an AI-powered app for browsing, organizing & sharing your photo collection. It makes use of the latest technologies to tag and find pictures automatically without getting in your way. You can run it at home, on a private server, or in the cloud.",
	"env": [
		{
			"default": "change me to a secure password",
			"label": "PHOTOPRISM_ADMIN_PASSWORD",
			"name": "PHOTOPRISM_ADMIN_PASSWORD"
		},
		{
			"default": "http://localhost:2342/",
			"label": "PHOTOPRISM_SITE_URL",
			"name": "PHOTOPRISM_SITE_URL"
		},
		{
			"label": "PHOTOPRISM_PUBLIC",
			"name": "PHOTOPRISM_PUBLIC",
			"select": [
				{
					"default": true,
					"text": "Enable Password Protection",
					"value": "false"
				},
				{
					"text": "No authentication required",
					"value": "true"
				}
			]
		},
		{
			"label": "PHOTOPRISM_READONLY",
			"name": "PHOTOPRISM_READONLY",
			"select": [
				{
					"default": true,
					"text": "Photo folder in Read/Write mode",
					"value": "false"
				},
				{
					"text": "Don't modify originals directory (reduced functionality)",
					"value": "true"
				}
			]
		},
		{
			"label": "PHOTOPRISM_DISABLE_FACES",
			"name": "PHOTOPRISM_DISABLE_FACES",
			"select": [
				{
					"default": true,
					"text": "Enable facial recognition",
					"value": "false"
				},
				{
					"text": "Disable facial recognition",
					"value": "true"
				}
			]
		},
		{
			"default": "change me to a secure password",
			"label": "MYSQL_PASSWORD",
			"name": "MYSQL_PASSWORD"
		},
		{
			"default": "change me to a secure password",
			"label": "MYSQL_ROOT_PASSWORD",
			"name": "MYSQL_ROOT_PASSWORD"
		},
		{
			"default": "/portainer/PhotoPrism",
			"label": "HOST_MEDIA_PATH",
			"name": "HOST_MEDIA_PATH"
		}
	],
	"logo": "https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/images/photoprism.png",
	"name": "PhotoPrism",
	"note": "Your device should have at least <b>4 GB</b> of memory. Running PhotoPrism on a server with less than 4 GB of swap space or setting a memory/swap limit can cause unexpected restarts, especially when the indexer temporarily needs more memory to process large files.<br>It's important to boot your Rapsberry Pi 3/4 with the parameter <b>arm_64bit=1</b> in <b>config.txt</b> to use ARM64 image.<br>If you see Docker errors related to <b>\"cgroups\"</b>, it may help to add the following to <b>/boot/firmware/cmdline.txt</b>:<br><br><b>cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1</b><br><br>User pi needs to have access to <b>HOST_MEDIA_PATH</b>, you can force it with:<br><br><b>sudo chown -R pi:pi /path/to/media</b><br><br>Run <b>install_photoprism.sh</b> before deploying this container.",
	"officialDoc": "https://docs.photoprism.app/getting-started/docker-compose/",
	"piHostedDoc": "photoprism.md",
	"platform": "linux",
	"preInstallScript": "install_photoprism.sh",
	"repository": {
		"stackfile_arm64": "stack/photoprism.yml",
		"stackfile_amd64": "stack/photoprism.yml",
		"url": "https://github.com/pi-hosted/pi-hosted"
	},
	"title": "PhotoPrism",
	"type": 3,
	"webpage": "https://photoprism.app/"
}
