浏览代码

changed paperless source to linuxserver

jrmbchtl 3 年之前
父节点
当前提交
9b57d855db
共有 1 个文件被更改,包括 15 次插入11 次删除
  1. 15 11
      pi-hosted_template/template/portainer-v2.json

+ 15 - 11
pi-hosted_template/template/portainer-v2.json

@@ -4188,7 +4188,7 @@
 				"Productivity"
 				"Productivity"
 			],
 			],
 			"description": "Paperless is an application by Daniel Quinn and contributors that indexes your scanned documents and allows you to easily search for documents and store metadata alongside your documents. https://github.com/jonaswinkler/paperless-ng",
 			"description": "Paperless is an application by Daniel Quinn and contributors that indexes your scanned documents and allows you to easily search for documents and store metadata alongside your documents. https://github.com/jonaswinkler/paperless-ng",
-			"image": "jonaswinkler/paperless-ng:latest",
+			"image": "lscr.io/linuxserver/paperless-ng",
 			"logo": "https://raw.githubusercontent.com/Dschorim/pi-hosted/master/pi-hosted_template/images/paperless.png",
 			"logo": "https://raw.githubusercontent.com/Dschorim/pi-hosted/master/pi-hosted_template/images/paperless.png",
 			"name": "paperless",
 			"name": "paperless",
 			"platform": "linux",
 			"platform": "linux",
@@ -4198,22 +4198,26 @@
 			"restart_policy": "unless-stopped",
 			"restart_policy": "unless-stopped",
 			"title": "Paperless",
 			"title": "Paperless",
 			"type": 1,
 			"type": 1,
-			"volumes": [
+			"env": [
 				{
 				{
-					"bind": "/portainer/Files/AppData/Config/paperless/data",
-					"container": "/usr/src/paperless/dat"
+					"default": "1000",
+					"label": "PUID",
+					"name": "PUID"
 				},
 				},
 				{
 				{
-					"bind": "/portainer/Files/AppData/Config/paperless/media",
-					"container": "/usr/src/paperless/media"
-				},
+					"default": "1000",
+					"label": "PGID",
+					"name": "PGID"
+				}
+			],
+			"volumes": [
 				{
 				{
-					"bind": "/portainer/Files/AppData/Config/paperless/export",
-					"container": "/usr/src/paperless/export"
+					"bind": "/portainer/Files/AppData/Config/paperless/config",
+					"container": "/config"
 				},
 				},
 				{
 				{
-					"bind": "/portainer/Files/AppData/Config/paperless/consume",
-					"container": "/usr/src/paperless/consume"
+					"bind": "/portainer/Files/AppData/Config/paperless/data",
+					"container": "/data"
 				}
 				}
 			]
 			]
 		}
 		}