Ver código fonte

Add pi user to MStream Template (#234)

Rafael Blumberg 3 anos atrás
pai
commit
b9f7b619de

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

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

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

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

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

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