浏览代码

Add pi user to MStream Template (#234)

Rafael Blumberg 3 年之前
父节点
当前提交
b9f7b619de
共有 3 个文件被更改,包括 36 次插入0 次删除
  1. 12 0
      pi-hosted_template/template/portainer-v2.json
  2. 12 0
      template/portainer-v2-arm32.json
  3. 12 0
      template/portainer-v2-arm64.json

+ 12 - 0
pi-hosted_template/template/portainer-v2.json

@@ -2667,6 +2667,18 @@
 			"restart_policy": "unless-stopped",
 			"title": "Mstream",
 			"type": 1,
+			"env": [
+				{
+					"default": "1000",
+					"label": "PUID",
+					"name": "PUID"
+				},
+				{
+					"default": "1000",
+					"label": "PGID",
+					"name": "PGID"
+				}
+			],
 			"volumes": [
 				{
 					"bind": "/portainer/Files/AppData/Config/Mstream",

+ 12 - 0
template/portainer-v2-arm32.json

@@ -2667,6 +2667,18 @@
 			"restart_policy": "unless-stopped",
 			"title": "Mstream",
 			"type": 1,
+			"env": [
+				{
+					"default": "1000",
+					"label": "PUID",
+					"name": "PUID"
+				},
+				{
+					"default": "1000",
+					"label": "PGID",
+					"name": "PGID"
+				}
+			],
 			"volumes": [
 				{
 					"bind": "/portainer/Files/AppData/Config/Mstream",

+ 12 - 0
template/portainer-v2-arm64.json

@@ -2767,6 +2767,18 @@
 			"restart_policy": "unless-stopped",
 			"title": "Mstream",
 			"type": 1,
+			"env": [
+				{
+					"default": "1000",
+					"label": "PUID",
+					"name": "PUID"
+				},
+				{
+					"default": "1000",
+					"label": "PGID",
+					"name": "PGID"
+				}
+			],
 			"volumes": [
 				{
 					"bind": "/portainer/Files/AppData/Config/Mstream",