瀏覽代碼

mapped port 8081:8080, Added port 9090:9090 changed PGID to 1000 and changed the bind container to /config/.kodi

nomadelog 3 年之前
父節點
當前提交
c40269e513
共有 1 個文件被更改,包括 5 次插入4 次删除
  1. 5 4
      pi-hosted_template/template/portainer-v2.json

+ 5 - 4
pi-hosted_template/template/portainer-v2.json

@@ -484,17 +484,18 @@
 					"name": "PUID"
 					"name": "PUID"
 				},
 				},
 				{
 				{
-					"default": "100",
+					"default": "1000",
 					"label": "PGID",
 					"label": "PGID",
 					"name": "PGID"
 					"name": "PGID"
 				}
 				}
 			],
 			],
-			"image": "Lsioarmhf/kodi-headless:latest",
+			"image": "lsioarmhf/kodi-headless:latest",
 			"logo": "https://raw.githubusercontent.com/novaspirit/pi-hosted/main/pi-hosted_template/images/kodi-icon.png",
 			"logo": "https://raw.githubusercontent.com/novaspirit/pi-hosted/main/pi-hosted_template/images/kodi-icon.png",
 			"name": "kodi-headless",
 			"name": "kodi-headless",
 			"platform": "linux",
 			"platform": "linux",
 			"ports": [
 			"ports": [
-				"8080/tcp",
+				"8081:8080/tcp",
+				"9090:9090/tcp",
 				"9777/udp"
 				"9777/udp"
 			],
 			],
 			"restart_policy": "unless-stopped",
 			"restart_policy": "unless-stopped",
@@ -503,7 +504,7 @@
 			"volumes": [
 			"volumes": [
 				{
 				{
 					"bind": "/portainer/Files/AppData/Config/Kodi",
 					"bind": "/portainer/Files/AppData/Config/Kodi",
-					"container": "/config"
+					"container": "/config/.kodi"
 				}
 				}
 			]
 			]
 		},
 		},